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.
18 19 20 21 22 |
# File 'lib/all-gem/cli.rb', line 18 def initialize @remote = false @since = nil @level = :all end |
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
16 17 18 |
# File 'lib/all-gem/cli.rb', line 16 def level @level end |
#remote ⇒ Object
Returns the value of attribute remote.
16 17 18 |
# File 'lib/all-gem/cli.rb', line 16 def remote @remote end |
#since ⇒ Object
Returns the value of attribute since.
16 17 18 |
# File 'lib/all-gem/cli.rb', line 16 def since @since end |