Class: Class
Overview
Code from RubyOnRails (www.rubyonrails.com)
Instance Method Summary collapse
-
#remove_subclasses ⇒ Object
:nodoc:.
- #subclasses ⇒ Object
-
#to_i ⇒ Object
– gmosx: is this really needed? ++.
Instance Method Details
#remove_subclasses ⇒ Object
:nodoc:
25 26 27 |
# File 'lib/glue/object.rb', line 25 def remove_subclasses Object.remove_subclasses_of(self) end |
#subclasses ⇒ Object
29 30 31 |
# File 'lib/glue/object.rb', line 29 def subclasses Object.subclasses_of(self) end |
#to_i ⇒ Object
– gmosx: is this really needed? ++
34 35 36 |
# File 'lib/glue.rb', line 34 def to_i return self.hash end |