Class: RuboCopter::CLI
- Inherits:
-
Object
- Object
- RuboCopter::CLI
- Defined in:
- lib/rubocopter/cli.rb
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.
9 10 11 |
# File 'lib/rubocopter/cli.rb', line 9 def @options end |
Instance Method Details
#run(args = ARGV) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/rubocopter/cli.rb', line 11 def run(args = ARGV) (args) check_for_offences return $?.exitstatus end |