Method: PseudoBinding::PerlVar#==

Defined in:
lib/parsely.rb

#==(other) ⇒ Object

this is not defined in terms of <=>



13
14
15
16
17
18
19
# File 'lib/parsely.rb', line 13

def == other
  if other.is_a? Numeric
    to_f == other
  else
    super
  end
end