Class: NarouAgent::Action

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
UrlHelper
Defined in:
lib/narou_agent/action.rb

Constant Summary

Constants included from UrlHelper

UrlHelper::NCODE_PATTERN

Instance Method Summary collapse

Methods included from UrlHelper

extract_part_id, ncode_to_i

Constructor Details

#initialize(agent) ⇒ Action

Returns a new instance of Action.



8
9
10
# File 'lib/narou_agent/action.rb', line 8

def initialize(agent)
  @agent = agent
end

Instance Method Details

#runObject

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/narou_agent/action.rb', line 12

def run
  raise NotImplementedError
end