Skip to content

Commit

Permalink
[Truffle] Remove IO#tty? shim.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Apr 9, 2015
1 parent c89c87c commit ab47c74
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions truffle/src/main/ruby/core/shims.rb
Expand Up @@ -83,21 +83,17 @@ def self.last_match(n = nil)
end

module Rubinius

L64 = true

def extended_modules(object)
[]
end

end

class Module

def extended_modules(object)
[]
end

end

class String
Expand All @@ -119,22 +115,12 @@ class Rational
ENV['TZ'] = 'UTC'

class Method

def to_proc
meth = self
proc { |*args|
meth.call(*args)
}
end

end

class IO

def tty?
false
end

end

class MatchData
Expand Down Expand Up @@ -178,7 +164,6 @@ def [](index)
end

class IO

RDONLY = 0
WRONLY = 1
RDWR = 2
Expand All @@ -191,7 +176,6 @@ class IO
NONBLOCK = 4
SYNC = 128
SEEK_SET = 0

end

# We use Rubinius's encoding subsystem for the most part, but we need to keep JRuby's up to date in case we
Expand Down

0 comments on commit ab47c74

Please sign in to comment.