Class: Object

Inherits:
BasicObject
Defined in:
lib/eac_templates/patches/object/template.rb,
lib/eac_templates/patches/object/erb_template.rb

Instance Method Summary collapse

Instance Method Details

#erb_template(subpath, binding_obj = nil) ⇒ Object



6
7
8
# File 'lib/eac_templates/patches/object/erb_template.rb', line 6

def erb_template(subpath, binding_obj = nil)
  self.class.erb_template(subpath, binding_obj || binding)
end

#templateObject



6
7
8
# File 'lib/eac_templates/patches/object/template.rb', line 6

def template
  self.class.template
end