Class: SpiritHands::Prompt::State
- Inherits:
-
Struct
- Object
- Struct
- SpiritHands::Prompt::State
- Defined in:
- lib/spirit_hands/prompt/base.rb
Overview
:object Object :level Fixnum :pry Pry :app String or Rails::Application :multiline false: normal prompt, true: multiline prompt
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
-
#level ⇒ Object
Returns the value of attribute level.
-
#multiline ⇒ Object
Returns the value of attribute multiline.
-
#object ⇒ Object
Returns the value of attribute object.
-
#pry ⇒ Object
Returns the value of attribute pry.
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app
22 23 24 |
# File 'lib/spirit_hands/prompt/base.rb', line 22 def app @app end |
#level ⇒ Object
Returns the value of attribute level
22 23 24 |
# File 'lib/spirit_hands/prompt/base.rb', line 22 def level @level end |
#multiline ⇒ Object
Returns the value of attribute multiline
22 23 24 |
# File 'lib/spirit_hands/prompt/base.rb', line 22 def multiline @multiline end |
#object ⇒ Object
Returns the value of attribute object
22 23 24 |
# File 'lib/spirit_hands/prompt/base.rb', line 22 def object @object end |
#pry ⇒ Object
Returns the value of attribute pry
22 23 24 |
# File 'lib/spirit_hands/prompt/base.rb', line 22 def pry @pry end |