module Spruz::Null
Implementation of the null object pattern in Ruby.
Public Instance Methods
inspect()
click to toggle source
# File lib/spruz/null.rb, line 12 def inspect 'NULL' end
method_missing(*)
click to toggle source
# File lib/spruz/null.rb, line 4 def method_missing(*) self end
to_s()
click to toggle source
# File lib/spruz/null.rb, line 8 def to_s '' end