Sha256: e49eef0704abbd3b38b4835b782204f29bb742c6cbb56af18ebcf6e363d1c0af

Contents?: true

Size: 337 Bytes

Versions: 10

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module Pakyow
  module Presenter
    class Attributes
      class Attribute
        def initialize(value)
          @value = value
        end

        def initialize_copy(_)
          @value = @value.dup
        end

        def ==(other)
          @value == other
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pakyow-presenter-1.0.6 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.5 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.4 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.3 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.2 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.1 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.0 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.0.rc5 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.0.rc4 lib/pakyow/presenter/attributes/attribute.rb
pakyow-presenter-1.0.0.rc3 lib/pakyow/presenter/attributes/attribute.rb