lib/yard/cli/yri.rb in yard-0.6.3 vs lib/yard/cli/yri.rb in yard-0.6.4

- old
+ new

@@ -47,11 +47,11 @@ # YRI.new.run('String#reverse') # @param [Array<String>] args each tokenized argument def run(*args) optparse(*args) - if Config::CONFIG['host_os'] =~ /mingw|win32/ + if ::Config::CONFIG['host_os'] =~ /mingw|win32/ @serializer ||= YARD::Serializers::StdoutSerializer.new else @serializer ||= YARD::Serializers::ProcessSerializer.new('less') end @@ -188,6 +188,6 @@ parse_options(opts, args) @name = args.first end end end -end \ No newline at end of file +end