class Docks::Languages::Haml

Public Class Methods

extensions() click to toggle source
# File lib/docks/languages/haml_language.rb, line 12
def self.extensions; %w(haml) end
type() click to toggle source
# File lib/docks/languages/haml_language.rb, line 11
def self.type; Docks::Types::Languages::MARKUP end

Public Instance Methods

helper_markup_for(helper_name, arguments) click to toggle source
# File lib/docks/languages/haml_language.rb, line 14
def helper_markup_for(helper_name, arguments)
  functionize_helper(helper_name, arguments, start_with: "= ")
end
renderer() click to toggle source
# File lib/docks/languages/haml_language.rb, line 18
def renderer; Docks::Renderers::Haml.new end