Exception: Jbuilder::NullError

Inherits:
NoMethodError
  • Object
show all
Defined in:
lib/jbuilder/errors.rb

Class Method Summary collapse

Class Method Details

.build(key) ⇒ Object



5
6
7
8
# File 'lib/jbuilder/errors.rb', line 5

def self.build(key)
  message = "Failed to add #{key.to_s.inspect} property to null object"
  new(message)
end