Exception: Predicated::Predicate::DontKnowWhatToDoWithThisJson

Inherits:
StandardError
  • Object
show all
Defined in:
lib/predicated/from/json.rb

Instance Method Summary collapse

Constructor Details

#initialize(json_struct) ⇒ DontKnowWhatToDoWithThisJson

Returns a new instance of DontKnowWhatToDoWithThisJson.



53
54
55
# File 'lib/predicated/from/json.rb', line 53

def initialize(json_struct)
  super("don't know what to do with #{JSON.generate(json_struct)}")
end