Class: Roma::Mkconfig::Input
- Inherits:
-
Object
- Object
- Roma::Mkconfig::Input
- Defined in:
- lib/roma/tools/mkconfig.rb
Defined Under Namespace
Modules: InputReadline, InputSimple
Instance Method Summary collapse
-
#initialize ⇒ Input
constructor
A new instance of Input.
Constructor Details
#initialize ⇒ Input
Returns a new instance of Input.
215 216 217 218 219 220 221 222 223 |
# File 'lib/roma/tools/mkconfig.rb', line 215 def initialize begin require "readline" rescue LoadError self.extend InputSimple return end self.extend InputReadline end |