Class: Transform::Controls::Subject::ObjectFormatter::Example

Inherits:
Object
  • Object
show all
Defined in:
lib/transform/controls/subject/object_formatter.rb

Defined Under Namespace

Modules: Transform

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#some_attributeObject

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