Class: XCAssets::XCAssets
- Inherits:
-
Object
- Object
- XCAssets::XCAssets
- Defined in:
- lib/KCommercialPipeline/core/resource/xcassets/xcassets.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #add_imageset(imageset) ⇒ Object
-
#initialize(name) ⇒ XCAssets
constructor
A new instance of XCAssets.
- #save(directory) ⇒ Object
Constructor Details
#initialize(name) ⇒ XCAssets
Returns a new instance of XCAssets.
10 11 12 13 |
# File 'lib/KCommercialPipeline/core/resource/xcassets/xcassets.rb', line 10 def initialize(name) @name = name @imagesets = [] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/KCommercialPipeline/core/resource/xcassets/xcassets.rb', line 8 def name @name end |
Instance Method Details
#add_imageset(imageset) ⇒ Object
15 16 17 |
# File 'lib/KCommercialPipeline/core/resource/xcassets/xcassets.rb', line 15 def add_imageset(imageset) @imagesets << imageset end |