Class: SpiritHands::Prompt::State

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#appObject

Returns the value of attribute app

Returns:

  • (Object)

    the current value of app



22
23
24
# File 'lib/spirit_hands/prompt/base.rb', line 22

def app
  @app
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



22
23
24
# File 'lib/spirit_hands/prompt/base.rb', line 22

def level
  @level
end

#multilineObject

Returns the value of attribute multiline

Returns:

  • (Object)

    the current value of multiline



22
23
24
# File 'lib/spirit_hands/prompt/base.rb', line 22

def multiline
  @multiline
end

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



22
23
24
# File 'lib/spirit_hands/prompt/base.rb', line 22

def object
  @object
end

#pryObject

Returns the value of attribute pry

Returns:

  • (Object)

    the current value of pry



22
23
24
# File 'lib/spirit_hands/prompt/base.rb', line 22

def pry
  @pry
end