Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truffle/src/main/ruby/core/rubinius/common/time.rb
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ def to_r
end

def to_f
to_r.to_f
seconds + nsec * 0.000000001 # Truffle: optimized
end

def +(other)

0 comments on commit 7e88d72

Please sign in to comment.