Class: Tabry::Replty::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/tabry/replty/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



9
10
11
# File 'lib/tabry/replty/base.rb', line 9

def args
  @args
end

#flagsObject (readonly)

Returns the value of attribute flags.



9
10
11
# File 'lib/tabry/replty/base.rb', line 9

def flags
  @flags
end

#internalsObject

Returns the value of attribute internals.



9
10
11
# File 'lib/tabry/replty/base.rb', line 9

def internals
  @internals
end

Instance Method Details

#tabry_promptObject

NOTE: internal functions (besides internal/args/flags) start with “tabry_”; reconsider scheme



18
19
20
# File 'lib/tabry/replty/base.rb', line 18

def tabry_prompt
  "> "
end