Class: GdbAction
Instance Method Summary
collapse
#===, #initialize, #load
Constructor Details
This class inherits a constructor from ActionFilter
Instance Method Details
#before(state) ⇒ Object
4
5
6
|
# File 'lib/extensions/mspec/mspec/runner/actions/gdb.rb', line 4
def before(state)
Kernel.yield_gdb(true) if self === state.description
end
|
8
9
10
11
|
# File 'lib/extensions/mspec/mspec/runner/actions/gdb.rb', line 8
def register
super
MSpec.register :before, self
end
|
#unregister ⇒ Object
13
14
15
16
|
# File 'lib/extensions/mspec/mspec/runner/actions/gdb.rb', line 13
def unregister
super
MSpec.unregister :before, self
end
|