Sha256: 5388ef4910458b52e0bd5baf893c3cff1f92496fabbecc4cc738668a8b13a8ae
Contents?: true
Size: 987 Bytes
Versions: 10
Compression:
Stored size: 987 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module CanHaveSteps module Entities class Method module Entities module Values ## # TODO: Specs. # class Reassignment include Support::Delegate attr_reader :value delegate :to_s, :to_sym, to: :value ## # @param value [String, Symbol] Method name to reassign. # def initialize(value) @value = value end def ==(other) return unless other.instance_of?(self.class) return false if value != other.value true end end end end end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems