Class: Rucoa::Cli
- Inherits:
-
Object
- Object
- Rucoa::Cli
- Defined in:
- lib/rucoa/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ void
-
#initialize(argv) ⇒ Cli
constructor
A new instance of Cli.
Constructor Details
#initialize(argv) ⇒ Cli
Returns a new instance of Cli.
12 13 14 |
# File 'lib/rucoa/cli.rb', line 12 def initialize(argv) @argv = argv end |
Class Method Details
.call(argv) ⇒ void
This method returns an undefined value.
7 8 9 |
# File 'lib/rucoa/cli.rb', line 7 def self.call(argv) new(argv).call end |
Instance Method Details
#call ⇒ void
This method returns an undefined value.
17 18 19 20 21 22 23 |
# File 'lib/rucoa/cli.rb', line 17 def call Server.new( io_in: $stdin, io_log: $stderr, io_out: $stdout ).start end |