Sha256: 691fe376a029543a50a424c7aab0d50cd4fccc9d5d0ece3b15fa98e4e32e9b7b

Contents?: true

Size: 260 Bytes

Versions: 21

Compression:

Stored size: 260 Bytes

Contents

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
neo4j-1.2.6-java lib/neo4j/has_list/class_methods.rb
neo4j-1.2.5-java lib/neo4j/has_list/class_methods.rb
neo4j-1.2.4-java lib/neo4j/has_list/class_methods.rb
neo4j-1.2.3-java lib/neo4j/has_list/class_methods.rb
neo4j-1.2.2-java lib/neo4j/has_list/class_methods.rb
neo4j-1.2.1-java lib/neo4j/has_list/class_methods.rb
neo4j-1.2.0-java lib/neo4j/has_list/class_methods.rb
neo4j-1.1.4-java lib/neo4j/has_list/class_methods.rb
neo4j-1.1.3-java lib/neo4j/has_list/class_methods.rb
neo4j-1.1.2-java lib/neo4j/has_list/class_methods.rb
neo4j-1.1.1-java lib/neo4j/has_list/class_methods.rb
neo4j-1.1.0-java lib/neo4j/has_list/class_methods.rb
neo4j-1.1.0.beta.3-java lib/neo4j/has_list/class_methods.rb
neo4j-1.1.0.beta.2-java lib/neo4j/has_list/class_methods.rb
neo4j-1.1.0.beta.1-java lib/neo4j/has_list/class_methods.rb
neo4j-1.0.0-java lib/neo4j/has_list/class_methods.rb
neo4j-1.0.0.beta.32-java lib/neo4j/has_list/class_methods.rb
neo4j-1.0.0.beta.31-java lib/neo4j/has_list/class_methods.rb
neo4j-1.0.0.beta.30-java lib/neo4j/has_list/class_methods.rb
neo4j-1.0.0.beta.29-java lib/neo4j/has_list/class_methods.rb