Class: Helium::Console::Prompt
- Inherits:
-
Object
- Object
- Helium::Console::Prompt
- Defined in:
- lib/helium/console/prompt.rb
Instance Method Summary collapse
-
#initialize ⇒ Prompt
constructor
A new instance of Prompt.
- #pry_prompt ⇒ Object
Constructor Details
#initialize ⇒ Prompt
Returns a new instance of Prompt.
6 7 8 |
# File 'lib/helium/console/prompt.rb', line 6 def initialize @line = 0 end |
Instance Method Details
#pry_prompt ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/helium/console/prompt.rb', line 10 def pry_prompt Pry::Prompt.new( 'helium', 'Default prompt for helium', [ method(:active_prompt), method(:wait_prompt) ] ) end |