Class: Roma::Mkconfig::Input

Inherits:
Object
  • Object
show all
Defined in:
lib/roma/tools/mkconfig.rb

Defined Under Namespace

Modules: InputReadline, InputSimple

Instance Method Summary collapse

Constructor Details

#initializeInput

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