Class: Spritely::Image
- Inherits:
-
Struct
- Object
- Struct
- Spritely::Image
- Defined in:
- lib/spritely/image.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#left ⇒ Object
Returns the value of attribute left.
-
#top ⇒ Object
Returns the value of attribute top.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
2 3 4 |
# File 'lib/spritely/image.rb', line 2 def data @data end |
#left ⇒ Object
Returns the value of attribute left.
3 4 5 |
# File 'lib/spritely/image.rb', line 3 def left @left end |
#top ⇒ Object
Returns the value of attribute top.
3 4 5 |
# File 'lib/spritely/image.rb', line 3 def top @top end |