Module: Kookaburra::UIDriver::HasSubcomponents

Included in:
UIComponent
Defined in:
lib/kookaburra/ui_driver/mixins/has_subcomponents.rb

Instance Method Summary collapse

Instance Method Details

#subcomponent(name, &proc) ⇒ Object

Nothing to see here, really – this just gives us a way to logically group subsections in a file



5
6
7
# File 'lib/kookaburra/ui_driver/mixins/has_subcomponents.rb', line 5

def subcomponent(name, &proc)
  class_eval &proc
end