Module: Predicated::JsonStructToJsonStr

Included in:
And, Not, Operation, Or
Defined in:
lib/predicated/to/json.rb

Instance Method Summary collapse

Instance Method Details

#to_json_strObject



8
9
10
# File 'lib/predicated/to/json.rb', line 8

def to_json_str
  JSON.pretty_generate(to_json_struct)
end