Exception: Jbuilder::ArrayError

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

Class Method Summary collapse

Class Method Details

.build(key) ⇒ Object



12
13
14
15
# File 'lib/jbuilder/errors.rb', line 12

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