Class: FastForward::Input
- Inherits:
-
Object
- Object
- FastForward::Input
- Includes:
- InputOutputOptions, Options
- Defined in:
- lib/fastforward/input.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(filename) {|_self| ... } ⇒ Input
constructor
A new instance of Input.
Methods included from InputOutputOptions
Methods included from Options
Constructor Details
#initialize(filename) {|_self| ... } ⇒ Input
Returns a new instance of Input.
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
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
6 7 8 |
# File 'lib/fastforward/input.rb', line 6 def filename @filename end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/fastforward/input.rb', line 6 def @options end |