Class: FastForward::Input

Inherits:
Object
  • Object
show all
Includes:
InputOutputOptions, Options
Defined in:
lib/fastforward/input.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from InputOutputOptions

#frame_rate

Methods included from Options

#add_option

Constructor Details

#initialize(filename) {|_self| ... } ⇒ Input

Returns a new instance of Input.

Yields:

  • (_self)

Yield Parameters:



8
9
10
11
12
# File 'lib/fastforward/input.rb', line 8

def initialize(filename)
  @filename = filename
  @options  = []
  yield(self) if block_given?
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



6
7
8
# File 'lib/fastforward/input.rb', line 6

def filename
  @filename
end

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/fastforward/input.rb', line 6

def options
  @options
end