Numeric
Class to represent Not A Number In Ruby NaN != NaN, but in JS, NaN == NaN
# File lib/rkelly/js/nan.rb, line 14 def +(o); self; end
# File lib/rkelly/js/nan.rb, line 15 def -(o); self; end
# File lib/rkelly/js/nan.rb, line 6 def ==(other) other.respond_to?(:nan?) && other.nan? end
# File lib/rkelly/js/nan.rb, line 10 def nan? true end
[Validate]
Generated with the Darkfish Rdoc Generator 2.