Class: Blooper::Input
- Inherits:
-
Object
- Object
- Blooper::Input
- Defined in:
- lib/blooper/input.rb
Instance Attribute Summary collapse
-
#flow ⇒ Object
readonly
Returns the value of attribute flow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(flow = STDIN) ⇒ Input
constructor
A new instance of Input.
Constructor Details
#initialize(flow = STDIN) ⇒ Input
Returns a new instance of Input.
6 7 8 |
# File 'lib/blooper/input.rb', line 6 def initialize(flow = STDIN) @flow = flow end |
Instance Attribute Details
#flow ⇒ Object (readonly)
Returns the value of attribute flow.
4 5 6 |
# File 'lib/blooper/input.rb', line 4 def flow @flow end |