Class: Soryo::Tester
- Inherits:
-
Object
- Object
- Soryo::Tester
- Defined in:
- lib/testers/tester.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Tester
constructor
A new instance of Tester.
- #run(email, options) ⇒ Object
- #tester_name ⇒ Object
Constructor Details
#initialize ⇒ Tester
Returns a new instance of Tester.
12 13 |
# File 'lib/testers/tester.rb', line 12 def initialize end |
Class Method Details
.descendants ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/testers/tester.rb', line 4 def self.descendants descendants = [] ObjectSpace.each_object(singleton_class) do |k| descendants.unshift k unless k == self end descendants end |
Instance Method Details
#run(email, options) ⇒ Object
19 20 21 |
# File 'lib/testers/tester.rb', line 19 def run(email, ) abort('Tester.run should not be called directly') end |
#tester_name ⇒ Object
15 16 17 |
# File 'lib/testers/tester.rb', line 15 def tester_name abort('Tester.tester_name should not be run directly') end |