Module: Rochambeau

Extended by:
T::Sig
Defined in:
lib/rochambeau/cli.rb,
lib/rochambeau.rb,
lib/rochambeau/option.rb,
lib/rochambeau/game_mode.rb

Overview

typed: strict frozen_string_literal: true

Defined Under Namespace

Classes: Cli, GameMode, InvalidOptionError, Option

Class Method Summary collapse

Class Method Details

.executeObject


20
21
22
23
24
25
26
# File 'lib/rochambeau.rb', line 20

def self.execute
  Rochambeau::Cli.start(ARGV)
rescue ArgumentError => e
  warn(e.to_s)
rescue Interrupt
  # No op.
end