Sha256: e986eef32608c0a5084d48072f955c90f905751697491be3344e29476c999baf

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

require 'structure/static'

class City < Structure
  include Static

  set_data_path File.expand_path("../../fixtures/cities.yml", __FILE__)

  key         :name
  embeds_many :neighborhoods
end

class Neighborhood < Structure
  key :name
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
structure-0.12.2 spec/models/city.rb