class Jekyll::ThemeBuilder::ERBRenderer
Public Class Methods
new(theme_builder)
click to toggle source
# File lib/jekyll/theme_builder.rb, line 103 def initialize(theme_builder) @theme_builder = theme_builder end
Public Instance Methods
jekyll_version_with_minor()
click to toggle source
# File lib/jekyll/theme_builder.rb, line 107 def jekyll_version_with_minor Jekyll::VERSION.split(".").take(2).join(".") end
render(contents)
click to toggle source
# File lib/jekyll/theme_builder.rb, line 115 def render(contents) ERB.new(contents).result binding end
theme_directories()
click to toggle source
# File lib/jekyll/theme_builder.rb, line 111 def theme_directories SCAFFOLD_DIRECTORIES end