Class: NeoScout::HashWithDefault

Inherits:
Hash
  • Object
show all
Includes:
HashDefaultsMixin
Defined in:
lib/neoscout/tools.rb,
lib/neoscout/json_schema.rb

Instance Method Summary collapse

Methods included from HashDefaultsMixin

#[], #default, included, #initialize, #key_descr, #lookup

Instance Method Details

#to_jsonObject



45
46
47
# File 'lib/neoscout/json_schema.rb', line 45

def to_json
  self.map_value { |v| v.to_json }
end