Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Values::Reassignment
- Inherits:
-
Object
- Object
- ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Values::Reassignment
- Includes:
- ConvenientService::Support::Delegate
- Defined in:
- lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/values/reassignment.rb
Overview
TODO: Specs.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(value) ⇒ Reassignment
constructor
A new instance of Reassignment.
Methods included from ConvenientService::Support::Concern
Constructor Details
#initialize(value) ⇒ Reassignment
Returns a new instance of Reassignment.
24 25 26 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/values/reassignment.rb', line 24 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
17 18 19 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/values/reassignment.rb', line 17 def value @value end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/values/reassignment.rb', line 28 def ==(other) return unless other.instance_of?(self.class) return false if value != other.value true end |