class Falcore::NullObject

Constants

ARRAY
FLOAT
INSPECT
INTEGER
STRING

Public Instance Methods

empty?()
Alias for: nil?
inspect() click to toggle source
# File lib/falcore/null_object.rb, line 48
def inspect
  INSPECT.dup
end
method_missing(m, *args, &block) click to toggle source
# File lib/falcore/null_object.rb, line 52
def method_missing(m, *args, &block)
  self
end
nil?() click to toggle source
# File lib/falcore/null_object.rb, line 27
def nil?
  true
end
Also aliased as: empty?
to_a() click to toggle source
# File lib/falcore/null_object.rb, line 32
def to_a
  ARRAY.dup
end
to_f() click to toggle source
# File lib/falcore/null_object.rb, line 40
def to_f
  FLOAT
end
to_i() click to toggle source
# File lib/falcore/null_object.rb, line 36
def to_i
  INTEGER
end
to_s() click to toggle source
# File lib/falcore/null_object.rb, line 44
def to_s
  STRING.dup
end