NilClass class of PicoRuby

Instance methods

!

instance.!() -> true

&

instance.&(untyped obj) -> false

===

instance.===(nil) -> true
instance.===(untyped obj) -> bool

^

instance.^(false | nil) -> false
instance.^(untyped obj) -> bool

inspect

instance.inspect() -> "nil"

nil?

instance.nil?() -> true

to_f

instance.to_f() -> Float

to_h

instance.to_h() -> {}

to_i

instance.to_i() -> 0

to_s

instance.to_s() -> ""

|

instance.|(nil | false) -> false
instance.|(untyped obj) -> bool
Tags: