Class: Irbs::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/irbs/cli.rb

Class Method Summary collapse

Class Method Details

.run(argv) ⇒ Object



15
16
17
18
19
20
# File 'lib/irbs/cli.rb', line 15

def run(argv)
  config = parse_opt(argv)
  Core.new(config).generate
ensure
  config&.stdout&.close
end