lib/yard/cli/yri.rb in yard-0.7.2 vs lib/yard/cli/yri.rb in yard-0.7.3

- old
+ new

@@ -47,10 +47,10 @@ # 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 ::RbConfig::CONFIG['host_os'] =~ /mingw|win32/ @serializer ||= YARD::Serializers::StdoutSerializer.new else @serializer ||= YARD::Serializers::ProcessSerializer.new('less') end