Sha256: 7bd717283810a3fb66779a85bbaa70adc54d0be837b78c990df8d63728a0e7e3

Contents?: true

Size: 842 Bytes

Versions: 13

Compression:

Stored size: 842 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module HasResultSteps
        module Entities
          class Method
            module Entities
              class Name
                include Support::Copyable
                include Support::Delegate

                attr_reader :value

                delegate :to_s, :to_sym, to: :value

                def initialize(value)
                  @value = value
                end

                def ==(other)
                  return unless other.instance_of?(self.class)

                  return false if value != other.value

                  true
                end

                def to_args
                  [value]
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
convenient_service-0.10.1 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.10.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.9.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.8.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.7.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.6.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.5.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.4.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.3.1 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.3.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.2.1 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.2.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb
convenient_service-0.1.0 lib/convenient_service/service/plugins/has_result_steps/entities/method/entities/name.rb