Class: Readapt::Message::Base
- Inherits:
-
Object
- Object
- Readapt::Message::Base
show all
- Defined in:
- lib/readapt/message/base.rb
Direct Known Subclasses
Attach, ConfigurationDone, Continue, Disconnect, Evaluate, Initialize, Launch, Next, Pause, Scopes, SetBreakpoints, SetExceptionBreakpoints, StackTrace, StepIn, StepOut, Threads, Variables
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(arguments, debugger) ⇒ Base
Returns a new instance of Base.
12
13
14
15
|
# File 'lib/readapt/message/base.rb', line 12
def initialize arguments, debugger
@arguments = arguments
@debugger = debugger
end
|
Instance Attribute Details
#arguments ⇒ Hash
7
8
9
|
# File 'lib/readapt/message/base.rb', line 7
def arguments
@arguments
end
|
10
11
12
|
# File 'lib/readapt/message/base.rb', line 10
def debugger
@debugger
end
|
Class Method Details
.run(arguments, debugger) ⇒ Object
27
28
29
|
# File 'lib/readapt/message/base.rb', line 27
def self.run arguments, debugger
new(arguments, debugger).run
end
|
Instance Method Details
#body ⇒ Object
19
20
21
|
# File 'lib/readapt/message/base.rb', line 19
def body
@body ||= {}
end
|
#run ⇒ Object
17
|
# File 'lib/readapt/message/base.rb', line 17
def run; end
|
#set_body(hash) ⇒ Object
23
24
25
|
# File 'lib/readapt/message/base.rb', line 23
def set_body hash
@body = hash
end
|