Class: Soryo::Tester

Inherits:
Object
  • Object
show all
Defined in:
lib/testers/tester.rb

Direct Known Subclasses

BrowserTester

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTester

Returns a new instance of Tester.



12
13
# File 'lib/testers/tester.rb', line 12

def initialize
end

Class Method Details

.descendantsObject



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, options)
    abort('Tester.run should not be called directly')
end

#tester_nameObject



15
16
17
# File 'lib/testers/tester.rb', line 15

def tester_name
    abort('Tester.tester_name should not be run directly')
end