Class: Qiita::Build::Command
- Inherits:
-
Object
- Object
- Qiita::Build::Command
- Defined in:
- lib/qiita/build/command.rb
Instance Method Summary collapse
-
#initialize(stdin, argv) ⇒ Command
constructor
A new instance of Command.
- #run ⇒ Object
Constructor Details
#initialize(stdin, argv) ⇒ Command
Returns a new instance of Command.
8 9 10 11 12 |
# File 'lib/qiita/build/command.rb', line 8 def initialize(stdin, argv) @options = {} @json = JSON.parse(stdin) @argv = (argv) end |