Class: AllGem::CLI::Options
- Inherits:
-
Object
- Object
- AllGem::CLI::Options
- Defined in:
- lib/all-gem/cli.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#remote ⇒ Object
Returns the value of attribute remote.
-
#since ⇒ Object
Returns the value of attribute since.
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
17 18 19 20 21 |
# File 'lib/all-gem/cli.rb', line 17 def initialize @remote = false @since = nil @level = :all end |
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
15 16 17 |
# File 'lib/all-gem/cli.rb', line 15 def level @level end |
#remote ⇒ Object
Returns the value of attribute remote.
15 16 17 |
# File 'lib/all-gem/cli.rb', line 15 def remote @remote end |
#since ⇒ Object
Returns the value of attribute since.
15 16 17 |
# File 'lib/all-gem/cli.rb', line 15 def since @since end |