Sha256: c61df051d5caa32e098ed1c71ee9e36204fdc0b5da20015abad04352d07c3ab6

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

module Neo4j::HasList
  module ClassMethods
      def has_list(name, params = {})
        module_eval(%Q{
                def #{name}
                  Neo4j::HasList::Mapping.new(self.class, self, '#{name}')
                end}, __FILE__, __LINE__)
      end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
neo4j-2.0.0.alpha.5-java lib/neo4j/has_list/class_methods.rb
neo4j-2.0.0.alpha.4-java lib/neo4j/has_list/class_methods.rb
neo4j-2.0.0.alpha.3-java lib/neo4j/has_list/class_methods.rb
neo4j-1.3.1-java lib/neo4j/has_list/class_methods.rb
neo4j-1.3.0-java lib/neo4j/has_list/class_methods.rb