Class: Gem::Commands::LocalCommand::Setting
- Inherits:
-
Object
- Object
- Gem::Commands::LocalCommand::Setting
- Defined in:
- lib/rubygems/commands/local_command.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(location, status = "off") ⇒ Setting
constructor
A new instance of Setting.
Constructor Details
#initialize(location, status = "off") ⇒ Setting
Returns a new instance of Setting.
8 9 10 |
# File 'lib/rubygems/commands/local_command.rb', line 8 def initialize(location, status = "off") @location, @status = location, status end |
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location.
7 8 9 |
# File 'lib/rubygems/commands/local_command.rb', line 7 def location @location end |
#status ⇒ Object
Returns the value of attribute status.
7 8 9 |
# File 'lib/rubygems/commands/local_command.rb', line 7 def status @status end |