class Jekyll::ThemeBuilder::ERBRenderer
Public Class Methods
new(theme_builder)
click to toggle source
# File lib/jekyll/theme_builder.rb, line 104 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 108 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 116 def render(contents) ERB.new(contents).result binding end
theme_directories()
click to toggle source
# File lib/jekyll/theme_builder.rb, line 112 def theme_directories SCAFFOLD_DIRECTORIES end