Class: BasicScreen
- Inherits:
-
PM::Screen
- Object
- PM::Screen
- BasicScreen
- Defined in:
- app/screens/basic_screen.rb
Instance Attribute Summary collapse
-
#animation_ts ⇒ Object
readonly
Returns the value of attribute animation_ts.
Instance Method Summary collapse
Instance Attribute Details
#animation_ts ⇒ Object (readonly)
Returns the value of attribute animation_ts.
4 5 6 |
# File 'app/screens/basic_screen.rb', line 4 def animation_ts @animation_ts end |
Instance Method Details
#on_appear ⇒ Object
10 11 12 13 |
# File 'app/screens/basic_screen.rb', line 10 def on_appear @on_appear_ts = NSDate.date @animation_ts = @on_appear_ts - @will_appear_ts end |
#will_appear ⇒ Object
6 7 8 |
# File 'app/screens/basic_screen.rb', line 6 def will_appear @will_appear_ts = NSDate.date end |