Class: Trepan::MockCore
- Inherits:
-
Object
- Object
- Trepan::MockCore
- Defined in:
- app/mock.rb
Instance Attribute Summary collapse
-
#core ⇒ Object
readonly
Returns the value of attribute core.
-
#dbgr ⇒ Object
Returns the value of attribute dbgr.
Instance Method Summary collapse
- #event ⇒ Object
-
#initialize ⇒ MockCore
constructor
A new instance of MockCore.
Constructor Details
#initialize ⇒ MockCore
Returns a new instance of MockCore.
19 20 21 |
# File 'app/mock.rb', line 19 def initialize @dbgr = MockDebugger.new end |
Instance Attribute Details
#core ⇒ Object (readonly)
Returns the value of attribute core.
18 19 20 |
# File 'app/mock.rb', line 18 def core @core end |
#dbgr ⇒ Object
Returns the value of attribute dbgr.
17 18 19 |
# File 'app/mock.rb', line 17 def dbgr @dbgr end |
Instance Method Details
#event ⇒ Object
22 |
# File 'app/mock.rb', line 22 def event; 'line' end |