Class: Muvy::Image

Inherits:
Object
  • Object
show all
Defined in:
lib/muvy/image.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(media, options) ⇒ Image

Returns a new instance of Image.



7
8
9
10
# File 'lib/muvy/image.rb', line 7

def initialize(media, options)
  @media = media
  @options = options
end

Instance Attribute Details

#mediaObject (readonly)

Returns the value of attribute media.



5
6
7
# File 'lib/muvy/image.rb', line 5

def media
  @media
end

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/muvy/image.rb', line 5

def options
  @options
end

Instance Method Details

#runObject



12
13
14
15
16
# File 'lib/muvy/image.rb', line 12

def run
  montage
  modification
  printout
end