Class: Starcraft2::Icon
- Inherits:
-
Object
- Object
- Starcraft2::Icon
- Defined in:
- lib/starcraft2/icon.rb
Instance Attribute Summary collapse
-
#h ⇒ Object
Returns the value of attribute h.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#url ⇒ Object
Returns the value of attribute url.
-
#w ⇒ Object
Returns the value of attribute w.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Icon
constructor
A new instance of Icon.
Constructor Details
Instance Attribute Details
#h ⇒ Object
Returns the value of attribute h.
3 4 5 |
# File 'lib/starcraft2/icon.rb', line 3 def h @h end |
#offset ⇒ Object
Returns the value of attribute offset.
3 4 5 |
# File 'lib/starcraft2/icon.rb', line 3 def offset @offset end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/starcraft2/icon.rb', line 3 def url @url end |
#w ⇒ Object
Returns the value of attribute w.
3 4 5 |
# File 'lib/starcraft2/icon.rb', line 3 def w @w end |
#x ⇒ Object
Returns the value of attribute x.
3 4 5 |
# File 'lib/starcraft2/icon.rb', line 3 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
3 4 5 |
# File 'lib/starcraft2/icon.rb', line 3 def y @y end |