lib/bini/optparser.rb
# Parse out ARGV, includes a catch for returning version, otherwise just calls super.
Parse out ARGV, includes a catch for returning version, otherwise just calls super.
Parse out ARGV includes a catch for returning version otherwise just calls super .
def parse!(*argv)
      super
      if Options[:version] && Bini.version
        puts Bini.version
        exit 0 if !Object.constants.include? :RSpec
      end
    end
def parse! ( * argv ) super if Options [ :version ] && Bini . version puts Bini . version exit 0 if ! Object . constants . include? :RSpec end end
Parse out ARGV, includes a catch for returning version, otherwise just calls super.
Parse out ARGV includes a catch for returning version otherwise just calls super .
# don't exit if RSpec is around, we are in a testing environment.
argv
<not_specific>