Class: Jwthumbs::Shutter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#spriteObject

Returns the value of attribute sprite.



3
4
5
# File 'lib/shutter.rb', line 3

def sprite
  @sprite
end