Module: SaferRailsConsole::Patches::Boot::SandboxFlag::Rails::Console50

Defined in:
lib/safer_rails_console/patches/boot/sandbox_flag.rb

Instance Method Summary collapse

Instance Method Details

#parse_arguments(arguments) ⇒ Object



58
59
60
61
62
63
64
65
66
67
# File 'lib/safer_rails_console/patches/boot/sandbox_flag.rb', line 58

def parse_arguments(arguments)
  options = {}

  OptionParser.new do |opt|
    ::SaferRailsConsole::Patches::Boot::SandboxFlag.console_options(opt, options)
    opt.parse!(arguments)
  end

  set_options_env(arguments, options)
end