Class: Haxor::Vm::Subsystem
- Inherits:
-
Object
- Object
- Haxor::Vm::Subsystem
- Defined in:
- lib/haxor/vm/subsystem.rb
Instance Attribute Summary collapse
-
#vm ⇒ Object
Returns the value of attribute vm.
Instance Method Summary collapse
- #register ⇒ Object
-
#subsystem(id) ⇒ Object
shortcut.
Instance Attribute Details
#vm ⇒ Object
Returns the value of attribute vm.
4 5 6 |
# File 'lib/haxor/vm/subsystem.rb', line 4 def vm @vm end |
Instance Method Details
#register ⇒ Object
6 7 8 |
# File 'lib/haxor/vm/subsystem.rb', line 6 def register # method called after registering to VM end |
#subsystem(id) ⇒ Object
shortcut
11 12 13 |
# File 'lib/haxor/vm/subsystem.rb', line 11 def subsystem(id) @vm.subsystem(id) end |