Sha256: 9e2eb3010c35bf58fa6f690d940939fad11aaf5c773786c88771cfec92fcc0aa

Contents?: true

Size: 704 Bytes

Versions: 21

Compression:

Stored size: 704 Bytes

Contents

module Neo4j
  module Wrapper
    module Property
      module InstanceMethods
        # Return a hash of 'public' properties.
        # If there is an accessor method available it will use that.
        # That means you can override the returned value of the property by implementing a method of the same name
        # as the property. All properteis not starting with <tt>_</tt> are considered public.
        # @return [Hash] hash of properties with keys not starting with <tt>_</tt>
        def attributes
          attr = props
          ret = {}
          attr.each_pair { |k, v| ret[k] = respond_to?(k) ? send(k) : v unless k.to_s[0] == ?_ }
          ret
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
neo4j-wrapper-2.3.0-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.2.4-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.2.3-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.2.1-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.2.0-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.2.0.rc1-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.1.0-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.0.1-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.0.0-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.0.0.rc2-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-2.0.0.rc1-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.11-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.10-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.9-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.8-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.7-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.6-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.5-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.4-java lib/neo4j-wrapper/properties/instance_methods.rb
neo4j-wrapper-0.0.3-java lib/neo4j-wrapper/properties/instance_methods.rb