Class: Docks::Languages::ERB
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#load_stub, #parser, symbol_sources
Class Method Details
.extensions ⇒ Object
12
|
# File 'lib/docks/languages/erb_language.rb', line 12
def self.extensions; %w(erb) end
|
Instance Method Details
#helper_markup_for(helper_name, arguments) ⇒ Object
14
15
16
|
# File 'lib/docks/languages/erb_language.rb', line 14
def helper_markup_for(helper_name, arguments)
functionize_helper(helper_name, arguments, start_with: "<%= ", end_with: " %>")
end
|
#renderer ⇒ Object
18
|
# File 'lib/docks/languages/erb_language.rb', line 18
def renderer; Docks::Renderers::ERB.new end
|