Method: RDoc::Attr#==
- Defined in:
- lib/rdoc/code_object/attr.rb
#==(other) ⇒ Object
Attributes are equal when their names, singleton and rw are identical
36 37 38 39 40 41 |
# File 'lib/rdoc/code_object/attr.rb', line 36 def == other self.class == other.class and self.name == other.name and self.rw == other.rw and self.singleton == other.singleton end |