Class: TrainSH::Detectors::TargetDetector
- Inherits:
-
Object
- Object
- TrainSH::Detectors::TargetDetector
- Defined in:
- lib/trainsh/detectors/target.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.descendants ⇒ Object
4 5 6 |
# File 'lib/trainsh/detectors/target.rb', line 4 def self.descendants ObjectSpace.each_object(Class).select { |klass| klass < self } end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/trainsh/detectors/target.rb', line 8 def to_s self.class.to_s end |
#url ⇒ Object
12 13 14 |
# File 'lib/trainsh/detectors/target.rb', line 12 def url raise "Implement `url` for target detector #{self}" end |