Class: LockersPage
- Inherits:
-
UnderOs::Page
- Object
- UnderOs::Page
- LockersPage
- Defined in:
- app/pages/lockers_page.rb
Instance Attribute Summary
Attributes inherited from UnderOs::Page
Instance Method Summary collapse
-
#initialize ⇒ LockersPage
constructor
A new instance of LockersPage.
- #show_locker_with_label ⇒ Object
- #show_simple_locker ⇒ Object
Methods inherited from UnderOs::Page
#alert, #build_layout, #compile_styles, #history, layout, #name, #navbar, new, #repaint, #setup_wrap, #title, #title=, #view, #view=
Methods included from UnderOs::Events
Constructor Details
#initialize ⇒ LockersPage
Returns a new instance of LockersPage.
2 3 4 5 |
# File 'app/pages/lockers_page.rb', line 2 def initialize first('#buttons #b1').on(:tap){ show_simple_locker } first('#buttons #b2').on(:tap){ show_locker_with_label } end |