Class: Travis::Cli::Config
- Inherits:
-
Object
- Object
- Travis::Cli::Config
- Includes:
- Helper
- Defined in:
- lib/travis/cli/config.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#remote ⇒ Object
readonly
Returns the value of attribute remote.
-
#shell ⇒ Object
readonly
Returns the value of attribute shell.
Instance Method Summary collapse
-
#initialize(shell, remote, options) ⇒ Config
constructor
A new instance of Config.
- #invoke ⇒ Object
Constructor Details
#initialize(shell, remote, options) ⇒ Config
Returns a new instance of Config.
11 12 13 14 15 |
# File 'lib/travis/cli/config.rb', line 11 def initialize(shell, remote, ) @remote = remote @options = @shell = shell end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/travis/cli/config.rb', line 9 def @options end |
#remote ⇒ Object (readonly)
Returns the value of attribute remote.
9 10 11 |
# File 'lib/travis/cli/config.rb', line 9 def remote @remote end |
#shell ⇒ Object (readonly)
Returns the value of attribute shell.
9 10 11 |
# File 'lib/travis/cli/config.rb', line 9 def shell @shell end |
Instance Method Details
#invoke ⇒ Object
17 18 19 20 |
# File 'lib/travis/cli/config.rb', line 17 def invoke store push end |