Module: Siba::KernelPlug
Class Method Summary collapse
- .siba_kernel ⇒ Object
-
.siba_kernel=(val) ⇒ Object
It is used in test to insert mock SibaKernel object.
Instance Method Summary collapse
Class Method Details
.siba_kernel ⇒ Object
28 29 30 |
# File 'lib/siba/siba_kernel.rb', line 28 def self.siba_kernel @siba_kernel ||= Siba::SibaKernel.new end |
.siba_kernel=(val) ⇒ Object
It is used in test to insert mock SibaKernel object
33 34 35 |
# File 'lib/siba/siba_kernel.rb', line 33 def self.siba_kernel=(val) @siba_kernel = val end |
Instance Method Details
#siba_kernel ⇒ Object
24 25 26 |
# File 'lib/siba/siba_kernel.rb', line 24 def siba_kernel KernelPlug.siba_kernel end |