Class: YardJunk::Janitor::YardOptions::Internal
- Inherits:
-
YARD::CLI::Yardoc
- Object
- YARD::CLI::Yardoc
- YardJunk::Janitor::YardOptions::Internal
- Defined in:
- lib/yard-junk/janitor/yard_options.rb
Overview
The easiest way to think like Yardoc is to become Yardoc, you know.
Instance Attribute Summary collapse
-
#option_args ⇒ Object
readonly
Returns the value of attribute option_args.
Instance Method Summary collapse
Instance Attribute Details
#option_args ⇒ Object (readonly)
Returns the value of attribute option_args.
42 43 44 |
# File 'lib/yard-junk/janitor/yard_options.rb', line 42 def option_args @option_args end |
Instance Method Details
#optparse(*args) ⇒ Object
44 45 46 47 48 |
# File 'lib/yard-junk/janitor/yard_options.rb', line 44 def optparse(*args) # remember all passed options... @all_args = args super end |
#parse_files(*args) ⇒ Object
50 51 52 53 54 |
# File 'lib/yard-junk/janitor/yard_options.rb', line 50 def parse_files(*args) # ...and substract what left after they were parsed as options, and only files left @option_args = @all_args - args super end |