Method: MyScripts::CLI#initialize
- Defined in:
- lib/my_scripts/cli.rb
#initialize(stdin = $stdin, stdout = $stdout, kernel = Kernel) ⇒ CLI
Creates new command line interface
20 21 22 23 24 |
# File 'lib/my_scripts/cli.rb', line 20 def initialize( stdin=$stdin, stdout=$stdout, kernel = Kernel ) @stdin = stdin @stdout = stdout @kernel = kernel end |