Class: NgxLint::CommandLine
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- NgxLint::CommandLine
- Defined in:
- lib/ngxlint/command_line.rb
Overview
Command line parsing.
Instance Method Summary collapse
-
#execute ⇒ Object
Execute this command.
-
#initialize(*args) ⇒ CommandLine
constructor
A new NgxLint::Command.
-
#version ⇒ String
The version string.
Constructor Details
#initialize(*args) ⇒ CommandLine
A new NgxLint::Command
9 10 11 |
# File 'lib/ngxlint/command_line.rb', line 9 def initialize(*args) super(*args) end |
Instance Method Details
#execute ⇒ Object
Execute this command.
14 15 16 |
# File 'lib/ngxlint/command_line.rb', line 14 def execute version if version? # --version end |