Class: Object

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

Instance Method Summary collapse

Instance Method Details

#eac_templateEacTemplates::Modules::Base



6
# File 'lib/eac_templates/patches/object/eac_template.rb', line 6

delegate :eac_template, to: :class

#erb_template(subpath, binding_obj = nil) ⇒ Object



4
5
6
# File 'lib/eac_templates/patches/object/erb_template.rb', line 4

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