Module: Mohawk::Navigation
- Includes:
- PageNavigation
- Defined in:
- lib/mohawk/navigation.rb
Instance Method Summary collapse
Instance Method Details
#on(cls, extra = {}, &block) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/mohawk/navigation.rb', line 7 def on(cls, extra={}, &block) screen = cls.new extra screen.wait_until_present block.call screen if block screen end |