Module: Simple::CLI::Adapter
- Defined in:
- lib/simple/cli/adapter.rb
Instance Method Summary collapse
Instance Method Details
#logger ⇒ Object
12 13 14 |
# File 'lib/simple/cli/adapter.rb', line 12 def logger Simple::CLI.logger end |
#logger=(logger) ⇒ Object
8 9 10 |
# File 'lib/simple/cli/adapter.rb', line 8 def logger=(logger) Simple::CLI.logger = logger end |
#run!(*args) ⇒ Object
2 3 4 5 6 |
# File 'lib/simple/cli/adapter.rb', line 2 def run!(*args) args = ARGV if args.empty? Simple::CLI::Runner.run(self, *args) end |