Class: Sshster::Config
- Inherits:
-
Object
- Object
- Sshster::Config
- Defined in:
- lib/sshster/config.rb
Instance Attribute Summary collapse
-
#config_path ⇒ Object
Returns the value of attribute config_path.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(config_path = nil) ⇒ Config
constructor
A new instance of Config.
- #merge ⇒ Object
Constructor Details
#initialize(config_path = nil) ⇒ Config
Returns a new instance of Config.
5 6 7 8 |
# File 'lib/sshster/config.rb', line 5 def initialize(config_path = nil) @config_path = config_path || default_file_path @options = end |
Instance Attribute Details
#config_path ⇒ Object
Returns the value of attribute config_path.
3 4 5 |
# File 'lib/sshster/config.rb', line 3 def config_path @config_path end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/sshster/config.rb', line 3 def @options end |
Instance Method Details
#merge ⇒ Object
10 11 12 |
# File 'lib/sshster/config.rb', line 10 def merge merge_config(config_path) end |