Module: Voom::Presenters::DSL::Components::Mixins::YieldTo

Included in:
Base
Defined in:
lib/voom/presenters/dsl/components/mixins/yield_to.rb

Instance Method Summary collapse

Instance Method Details

#yield_to(*args, &block) ⇒ Object



7
8
9
# File 'lib/voom/presenters/dsl/components/mixins/yield_to.rb', line 7

def yield_to(*args, &block)
  instance_exec(*args, &block) if block_given?
end