Class: Jwthumbs::Shutter
- Inherits:
-
Object
- Object
- Jwthumbs::Shutter
- Defined in:
- lib/shutter.rb
Instance Attribute Summary collapse
-
#sprite ⇒ Object
Returns the value of attribute sprite.
Instance Method Summary collapse
-
#initialize(movie) ⇒ Shutter
constructor
A new instance of Shutter.
Constructor Details
#initialize(movie) ⇒ Shutter
Returns a new instance of Shutter.
4 5 6 7 8 |
# File 'lib/shutter.rb', line 4 def initialize(movie) @movie = movie @sprite = @movie.outdir+"/"+@movie.spritefile run end |
Instance Attribute Details
#sprite ⇒ Object
Returns the value of attribute sprite.
3 4 5 |
# File 'lib/shutter.rb', line 3 def sprite @sprite end |