Class: NeSpat::Executors::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ne_spat/executors/base.rb

Direct Known Subclasses

Default, XXX

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

#configObject (readonly)

Returns the value of attribute config.



4
5
6
# File 'lib/ne_spat/executors/base.rb', line 4

def config
  @config
end

#mouseObject (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

#callObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/ne_spat/executors/base.rb', line 15

def call
  raise NotImplementedError
end