Class: Agen::Shell
- Inherits:
-
Object
- Object
- Agen::Shell
- Defined in:
- lib/agen/shell.rb
Instance Method Summary collapse
- #add_options ⇒ Object
-
#initialize(options) ⇒ Shell
constructor
A new instance of Shell.
Constructor Details
#initialize(options) ⇒ Shell
Returns a new instance of Shell.
5 6 7 |
# File 'lib/agen/shell.rb', line 5 def initialize() @options = end |
Instance Method Details
#add_options ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/agen/shell.rb', line 9 def if !@options[:histfile] @options = opts_klass.set_histfile end if @options && !@options[:rcfile] @options = opts_klass.set_rcfile end @options end |