Class: Bundler::Thor::LineEditor::Basic
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Inherits: | Object |
Defined in: | lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb |
Class Attribute Summary
- .available? ⇒ Boolean readonly
Class Method Summary
- .new(prompt, options) ⇒ Basic constructor
Instance Attribute Summary
- #options readonly
- #prompt readonly
- #echo? ⇒ Boolean readonly private
Instance Method Summary
- #readline
- #get_input private
Constructor Details
.new(prompt, options) ⇒ Basic
Class Attribute Details
.available? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb', line 6
def self.available? true end
Instance Attribute Details
#echo? ⇒ Boolean
(readonly, private)
[ GitHub ]
# File 'lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb', line 32
def echo? .fetch(:echo, true) end
#options (readonly)
[ GitHub ]# File 'lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb', line 4
attr_reader :prompt, :
#prompt (readonly)
[ GitHub ]# File 'lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb', line 4
attr_reader :prompt, :