Class: CruftTracker::Method
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- CruftTracker::Method
- Defined in:
- app/models/cruft_tracker/method.rb
Constant Summary collapse
- INSTANCE_METHOD =
:instance_method
- CLASS_METHOD =
:class_method
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
19 20 21 22 |
# File 'app/models/cruft_tracker/method.rb', line 19 def ==(other) other.owner == owner && other.name == name && other.method_type == method_type end |
#still_exists? ⇒ Boolean
11 12 13 |
# File 'app/models/cruft_tracker/method.rb', line 11 def still_exists? class_still_exists? && method_still_exists? end |
#still_tracked? ⇒ Boolean
15 16 17 |
# File 'app/models/cruft_tracker/method.rb', line 15 def still_tracked? CruftTracker::Registry.include?(self) end |