class NilClass

Public Instance Methods

method_missing(name, *args) click to toggle source
# File extensions/nil.rb, line 2
def method_missing name, *args
  puts "Method #{name} called on Nil. At: #{caller[0]}"
  raise "Method #{name} called on Nil. At: #{caller[0]}"
end