Class: Transform::Controls::Subject::ObjectFormatter::Example
- Inherits:
-
Object
- Object
- Transform::Controls::Subject::ObjectFormatter::Example
- Defined in:
- lib/transform/controls/subject/object_formatter.rb
Defined Under Namespace
Modules: Transform
Instance Attribute Summary collapse
-
#some_attribute ⇒ Object
Returns the value of attribute some_attribute.
Instance Method Summary collapse
Instance Attribute Details
#some_attribute ⇒ Object
Returns the value of attribute some_attribute.
16 17 18 |
# File 'lib/transform/controls/subject/object_formatter.rb', line 16 def some_attribute @some_attribute end |
Instance Method Details
#==(other) ⇒ Object
18 19 20 |
# File 'lib/transform/controls/subject/object_formatter.rb', line 18 def ==(other) other.some_attribute == self.some_attribute end |