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