Class: NeSpat::Executors::Base
- Inherits:
-
Object
- Object
- NeSpat::Executors::Base
- Defined in:
- lib/ne_spat/executors/base.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#mouse ⇒ Object
readonly
Returns the value of attribute mouse.
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(config) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(config) ⇒ Base
Returns a new instance of Base.
10 11 12 13 |
# File 'lib/ne_spat/executors/base.rb', line 10 def initialize(config) @config = config @mouse = RuMouse.new end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/ne_spat/executors/base.rb', line 4 def config @config end |
#mouse ⇒ Object (readonly)
Returns the value of attribute mouse.
4 5 6 |
# File 'lib/ne_spat/executors/base.rb', line 4 def mouse @mouse end |
Class Method Details
.call(config) ⇒ Object
6 7 8 |
# File 'lib/ne_spat/executors/base.rb', line 6 def self.call(config) new(config).call end |
Instance Method Details
#call ⇒ Object
15 16 17 |
# File 'lib/ne_spat/executors/base.rb', line 15 def call raise NotImplementedError end |