1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Suppress warnings

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-03-25 18:50:48 +00:00
parent 2149c313f4
commit eaad7bedc9
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ module Rinda
##
# Set to false to shutdown future requests using this Renewer
attr_accessor :renew
attr_writer :renew
def initialize # :nodoc:
@renew = true

View file

@ -50,7 +50,7 @@ class MockClock
end
def rewind
now ,= @ts.take([nil, :now])
@ts.take([nil, :now])
@ts.write([@inf, :now])
@ts.take([nil, :now])
@now = 2
@ -76,7 +76,7 @@ module Time
module_function :at
def now
@m ? @m.now : 2
defined?(@m) && @m ? @m.now : 2
end
module_function :now