Class: Redirus::CLI
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
15 16 17 |
# File 'lib/redirus/cli.rb', line 15 def end |
Instance Method Details
#parse(args = ARGV) ⇒ Object
17 18 19 20 |
# File 'lib/redirus/cli.rb', line 17 def parse(args = ARGV) (args) validate! end |
#run ⇒ Object
22 23 24 |
# File 'lib/redirus/cli.rb', line 22 def run add? ? add : rm end |