Class: Savagery::Spriter::Image
- Inherits:
-
Struct
- Object
- Struct
- Savagery::Spriter::Image
- Defined in:
- lib/savagery/spriter/image.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
3 4 5 |
# File 'lib/savagery/spriter/image.rb', line 3 def path @path end |
Class Method Details
Instance Method Details
#symbol ⇒ Object
8 9 10 |
# File 'lib/savagery/spriter/image.rb', line 8 def symbol %(<symbol id="#{name}">#{image}</symbol>\n) end |