Class: InciScore::CLI
- Inherits:
-
Object
- Object
- InciScore::CLI
- Defined in:
- lib/inci_score/cli.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#io ⇒ Object
readonly
Returns the value of attribute io.
-
#src ⇒ Object
Returns the value of attribute src.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(args:, io: STDOUT) ⇒ CLI
constructor
A new instance of CLI.
Constructor Details
#initialize(args:, io: STDOUT) ⇒ CLI
Returns a new instance of CLI.
10 11 12 13 14 |
# File 'lib/inci_score/cli.rb', line 10 def initialize(args:, io: STDOUT) @args = args @io = io @src = nil end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
7 8 9 |
# File 'lib/inci_score/cli.rb', line 7 def args @args end |
#io ⇒ Object (readonly)
Returns the value of attribute io.
7 8 9 |
# File 'lib/inci_score/cli.rb', line 7 def io @io end |
#src ⇒ Object
Returns the value of attribute src.
8 9 10 |
# File 'lib/inci_score/cli.rb', line 8 def src @src end |