Class: RCommand::IOMethod
- Inherits:
-
Object
- Object
- RCommand::IOMethod
show all
- Defined in:
- lib/rcommand/io_methods.rb
Instance Method Summary
collapse
Constructor Details
#initialize(command_line) ⇒ IOMethod
Returns a new instance of IOMethod.
26
27
28
|
# File 'lib/rcommand/io_methods.rb', line 26
def initialize(command_line)
@command_line = command_line
end
|
Instance Method Details
#eof? ⇒ Boolean
35
36
37
38
|
# File 'lib/rcommand/io_methods.rb', line 35
def eof?
raise NotImplementedError,
"eof? not implemented in #{self.class.name}."
end
|
#readline ⇒ Object
30
31
32
33
|
# File 'lib/rcommand/io_methods.rb', line 30
def readline
raise NotImplementedError,
"readline not implemented in #{self.class.name}."
end
|