Sha256: f26ad423e6891d46691d3fea2cde812d09aa5922c57ed93cd85b367745e7209b

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

require 'cassanity/addition'
require 'set'

module Cassanity
  def self.SetAddition(*args)
    SetAddition.new(*args)
  end

  class SetAddition < Addition
    # Public: Returns a set_addition instance
    def initialize(*args)
      super(*args)
      @value = @value.to_set
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cassanity-0.6.0 lib/cassanity/set_addition.rb