Sha256: f478403fb8c5471cfea43b12adda5170aab64b1f33751e874391de81ceee2017

Contents?: true

Size: 478 Bytes

Versions: 5

Compression:

Stored size: 478 Bytes

Contents

module Cadet
  module BatchInserter
    class Relationship < Cadet::Relationship
      attr_accessor :underlying

      def == other_rel
        @underlying == other_rel
      end

      def []= (property, value)
        Cadet::BatchInserter::Session.current_session.set_relationship_property(self, property, value)
      end

      def [] (property)
        Cadet::BatchInserter::Session.current_session.get_relationship_properties(self)[property]
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cadet-0.1.5-java lib/cadet/batch_inserter/relationship.rb
cadet-0.1.4-java lib/cadet/batch_inserter/relationship.rb
cadet-0.1.3-java lib/cadet/batch_inserter/relationship.rb
cadet-0.1.2-java lib/cadet/batch_inserter/relationship.rb
cadet-0.1.1-java lib/cadet/batch_inserter/relationship.rb