Class: Muvy::ImageFolder
- Inherits:
-
Object
- Object
- Muvy::ImageFolder
- Defined in:
- lib/muvy/imagefolder.rb
Instance Attribute Summary collapse
-
#media ⇒ Object
readonly
Returns the value of attribute media.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#photos ⇒ Object
readonly
Returns the value of attribute photos.
Instance Method Summary collapse
-
#initialize(media, options) ⇒ ImageFolder
constructor
A new instance of ImageFolder.
- #run ⇒ Object
Constructor Details
#initialize(media, options) ⇒ ImageFolder
Returns a new instance of ImageFolder.
7 8 9 10 11 |
# File 'lib/muvy/imagefolder.rb', line 7 def initialize(media, ) @media = media @options = @photos = add_photos end |
Instance Attribute Details
#media ⇒ Object (readonly)
Returns the value of attribute media.
5 6 7 |
# File 'lib/muvy/imagefolder.rb', line 5 def media @media end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/muvy/imagefolder.rb', line 5 def @options end |
#photos ⇒ Object (readonly)
Returns the value of attribute photos.
5 6 7 |
# File 'lib/muvy/imagefolder.rb', line 5 def photos @photos end |
Instance Method Details
#run ⇒ Object
13 14 15 16 |
# File 'lib/muvy/imagefolder.rb', line 13 def run average send_thumbs end |