Class: ImageNameComponents
- Inherits:
-
Object
- Object
- ImageNameComponents
- Defined in:
- lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/image_name_components.rb
Instance Attribute Summary collapse
-
#folder ⇒ Object
Returns the value of attribute folder.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:, folder:) ⇒ ImageNameComponents
constructor
A new instance of ImageNameComponents.
Constructor Details
#initialize(name:, folder:) ⇒ ImageNameComponents
Returns a new instance of ImageNameComponents.
6 7 8 9 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/image_name_components.rb', line 6 def initialize(name:, folder:) @name = name @folder = folder end |
Instance Attribute Details
#folder ⇒ Object
Returns the value of attribute folder.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/image_name_components.rb', line 4 def folder @folder end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/image_name_components.rb', line 4 def name @name end |