Class: Guideline::Runner
- Inherits:
-
Object
- Object
- Guideline::Runner
- Defined in:
- lib/guideline/runner.rb
Defined Under Namespace
Classes: Parser
Constant Summary collapse
- CONFIG_FILE_NAME =
".guideline.yml"
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Runner
constructor
A new instance of Runner.
- #parse ⇒ Object
Constructor Details
Class Method Details
.parse(*argv) ⇒ Object
10 11 12 |
# File 'lib/guideline/runner.rb', line 10 def self.parse(*argv) new(*argv).parse end |
Instance Method Details
#parse ⇒ Object
18 19 20 21 22 23 |
# File 'lib/guideline/runner.rb', line 18 def parse before_hook @hash[:config] = load_config @hash.delete(:help) @hash end |