Module: JSON::Schematized::BasicWrapper::Collections
- Defined in:
- lib/json/schematized/basic_wrapper.rb
Instance Method Summary collapse
Instance Method Details
#coerce_members_to(member_type, json_schema) ⇒ Object
95 96 97 98 99 |
# File 'lib/json/schematized/basic_wrapper.rb', line 95 def coerce_members_to(member_type, json_schema) extend BasicWrapper::SchematizedArray self.members_type = member_type self.members_module = BasicWrapper.modularize(json_schema) end |