Module: Put::NilExtension

Defined in:
lib/put.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



28
29
30
31
32
33
34
# File 'lib/put.rb', line 28

def <=>(other)
  if ::Put === other
    -(other <=> self)
  else
    super
  end
end