Sha256: 031a53d10df31840f4614fd3c92374f31565e7908f82e2562f915dedef689c2b
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
require 'cucumber/formatter/color_io' require 'spec-i18n/command_line/options' module SpecI18n module CommandLine class Main def self.execute(args) new(args).execute! end def initialize(args, out_stream = STDOUT, error_stream = STDERR) @args = args if SpecI18n::WINDOWS @out_stream = out_stream == STDOUT ? Formatter::ColorIO.new(Kernel, STDOUT) : out_stream else @out_stream = out_stream end @error_stream = error_stream end def execute! options = Options.new(@out_stream, @error_stream, @args) options.parse!(@args) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-i18n-0.2.0 | lib/spec-i18n/command_line/main.rb |