Class: WinClass::View
- Inherits:
-
Object
- Object
- WinClass::View
- Defined in:
- lib/texplay/live.rb
Instance Attribute Summary collapse
-
#rotate ⇒ Object
Returns the value of attribute rotate.
-
#zoom ⇒ Object
Returns the value of attribute zoom.
Instance Method Summary collapse
-
#initialize ⇒ View
constructor
A new instance of View.
- #reset ⇒ Object
Constructor Details
#initialize ⇒ View
Returns a new instance of View.
25 26 27 28 |
# File 'lib/texplay/live.rb', line 25 def initialize @zoom = 1 @rotate = 0 end |
Instance Attribute Details
#rotate ⇒ Object
Returns the value of attribute rotate.
23 24 25 |
# File 'lib/texplay/live.rb', line 23 def rotate @rotate end |
#zoom ⇒ Object
Returns the value of attribute zoom.
23 24 25 |
# File 'lib/texplay/live.rb', line 23 def zoom @zoom end |
Instance Method Details
#reset ⇒ Object
30 31 32 33 |
# File 'lib/texplay/live.rb', line 30 def reset @zoom = 1 @rotate = 0 end |