Sha256: 038c7729f0362e57f616d45d2250fa528205c6e00a421c7e598946cf8fbaa2b3

Contents?: true

Size: 501 Bytes

Versions: 3

Compression:

Stored size: 501 Bytes

Contents

$LOAD_PATH.unshift("xampl_generated_code")

require 'RandomPeople'

#Xampl.set_default_persister_kind(:tokyo_cabinet)
#Xampl.set_default_persister_format(:xml_format)

module RandomPeople

  class Person

    Xampl::TokyoCabinetPersister.add_lexical_indexs(%w{ surname city state email })

    def describe_yourself
      {
              'surname' => self.surname,
              'city' => self.city,
              'state' => self.state,
              'email' => self.email
      }
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hutch-xamplr-1.0.3 examples/random-people/people.rb
hutch-xamplr-1.0.4 examples/random-people/people.rb
hutch-xamplr-1.0.5 examples/random-people/people.rb