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.0.0.beta.28-java lib/neo4j/has_list/class_methods.rb