Sha256: e04f730d4e861b28fc4c41779b248ebeb94911bdf681218a257e33e06fa206bb
Contents?: true
Size: 536 Bytes
Versions: 3
Compression:
Stored size: 536 Bytes
Contents
require_relative "base_language.rb" require_relative "common_types/markup_language.rb" require_relative "../renderers/erb_renderer.rb" module Docks module Languages class ERB < Base include Common::Markup def self.type; Docks::Types::Languages::MARKUP end def self.extensions; %w(erb) end def helper_markup_for(helper_name, arguments) functionize_helper(helper_name, arguments, start_with: "<%= ", end_with: " %>") end def renderer; Docks::Renderers::ERB.new end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
docks_app-0.0.3 | lib/docks/languages/erb_language.rb |
docks_app-0.0.2 | lib/docks/languages/erb_language.rb |
docks_app-0.0.1 | lib/docks/languages/erb_language.rb |