Class: Class
- Defined in:
- lib/abstract.rb,
lib/concrete.rb,
lib/verbose_object.rb
Instance Method Summary collapse
- #==(rhs) ⇒ Object
- #abstract ⇒ Object
- #abstract? ⇒ Boolean
- #concrete ⇒ Object
- #old_class_equal ⇒ Object
- #verbosify!(opts = nil) ⇒ Object
Instance Method Details
#==(rhs) ⇒ Object
96 97 98 |
# File 'lib/verbose_object.rb', line 96 def == ( rhs ) return object_id == rhs.object_id end |
#abstract? ⇒ Boolean
48 49 50 |
# File 'lib/abstract.rb', line 48 def abstract? include?(Abstract) ? (not include?(Concrete)) : false; end |
#old_class_equal ⇒ Object
95 |
# File 'lib/verbose_object.rb', line 95 alias_method :old_class_equal, :== |
#verbosify!(opts = nil) ⇒ Object
91 92 93 |
# File 'lib/verbose_object.rb', line 91 def verbosify! ( opts=nil ) raise TypeError end |