Class: Tabry::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/tabry/state.rb

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



4
5
6
# File 'lib/tabry/state.rb', line 4

def args
  @args
end

#current_flagObject

Returns the value of attribute current_flag

Returns:

  • (Object)

    the current value of current_flag



4
5
6
# File 'lib/tabry/state.rb', line 4

def current_flag
  @current_flag
end

#dashdashObject

Returns the value of attribute dashdash

Returns:

  • (Object)

    the current value of dashdash



4
5
6
# File 'lib/tabry/state.rb', line 4

def dashdash
  @dashdash
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



4
5
6
# File 'lib/tabry/state.rb', line 4

def flags
  @flags
end

#helpObject

Returns the value of attribute help

Returns:

  • (Object)

    the current value of help



4
5
6
# File 'lib/tabry/state.rb', line 4

def help
  @help
end

#modeObject

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



4
5
6
# File 'lib/tabry/state.rb', line 4

def mode
  @mode
end

#subcommand_stackObject

Returns the value of attribute subcommand_stack

Returns:

  • (Object)

    the current value of subcommand_stack



4
5
6
# File 'lib/tabry/state.rb', line 4

def subcommand_stack
  @subcommand_stack
end