Module: HALDecorator::Embedded
- Included in:
- HALDecorator
- Defined in:
- lib/hal_decorator/embedded.rb
Defined Under Namespace
Classes: Embed
Instance Method Summary collapse
Instance Method Details
#embed(*args, &block) ⇒ Object
14 15 16 17 18 |
# File 'lib/hal_decorator/embedded.rb', line 14 def (*args, &block) ||= = .reject { || .name == args.first } << Embed.new(*args, &block) end |