Module: Halogen::Embeds::ClassMethods

Defined in:
lib/halogen/embeds.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#embed(name, options = {}, &procedure) ⇒ Halogen::Embeds::Definition


17
18
19
# File 'lib/halogen/embeds.rb', line 17

def embed(name, options = {}, &procedure)
  definitions.add(Definition.new(name, options, procedure))
end