Class: Pictrails::ImportSystem::GalleryImport
- Inherits:
-
Object
- Object
- Pictrails::ImportSystem::GalleryImport
- Defined in:
- lib/pictrails/import_system.rb
Overview
Manage a GalleryImport for the mass_upload
Instance Attribute Summary collapse
-
#child ⇒ Object
Returns the value of attribute child.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, name, parent) ⇒ GalleryImport
constructor
A new instance of GalleryImport.
Constructor Details
#initialize(path, name, parent) ⇒ GalleryImport
Returns a new instance of GalleryImport.
12 13 14 15 16 17 |
# File 'lib/pictrails/import_system.rb', line 12 def initialize(path, name, parent) @path = path @name = name @parent = parent @child = [] end |
Instance Attribute Details
#child ⇒ Object
Returns the value of attribute child.
10 11 12 |
# File 'lib/pictrails/import_system.rb', line 10 def child @child end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/pictrails/import_system.rb', line 9 def name @name end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
9 10 11 |
# File 'lib/pictrails/import_system.rb', line 9 def parent @parent end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
9 10 11 |
# File 'lib/pictrails/import_system.rb', line 9 def path @path end |