class Wms::Input::Base
Attributes
Public Class Methods
new(options={})
click to toggle source
Calls superclass method
Wms::Plugin::Plugin::new
# File lib/wms/input/base.rb, line 10 def initialize(options={}) super @threadable = false @tags ||= [] @logger = Logger.new(STDOUT) end
Public Instance Methods
register(options={})
click to toggle source
This method sets up the configurations for the derived classes. This mothod must be called so that the configuration can be created. @params:
> options: optional configurations¶ ↑
@required
# File lib/wms/input/base.rb, line 26 def register(options={}) raise "#{self.class}#register must be overidden" end
run(&block)
click to toggle source
tag(newtag)
click to toggle source
An options
# File lib/wms/input/base.rb, line 42 def tag(newtag) @tags << newtag end