Sha256: c939501d0dc50b49d714b982415e8e8e1400d33b7034aeae1bc5c4954a444185

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

module MoneyS3
  class WithAttributes < SimpleDelegator
    alias_method :value, :__getobj__

    def attributes
      @attributes ||= {}
    end

    def attributes=(attributes)
      @attributes = attributes
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.6.0 lib/money_s3/with_attributes.rb