Class: BaseTask
- Inherits:
-
Object
- Object
- BaseTask
- Defined in:
- lib/libisi/task/base.rb
Overview
Copyright © 2007-2010 Logintas AG Switzerland
This file is part of Libisi.
Libisi is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Libisi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Libisi. If not, see <www.gnu.org/licenses/>.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#function ⇒ Object
Returns the value of attribute function.
-
#parameter ⇒ Object
Returns the value of attribute parameter.
Instance Method Summary collapse
-
#initialize(function, parameter) ⇒ BaseTask
constructor
A new instance of BaseTask.
Constructor Details
#initialize(function, parameter) ⇒ BaseTask
Returns a new instance of BaseTask.
22 23 24 25 |
# File 'lib/libisi/task/base.rb', line 22 def initialize(function, parameter) @function = function @parameter = parameter end |
Instance Attribute Details
#function ⇒ Object
Returns the value of attribute function.
20 21 22 |
# File 'lib/libisi/task/base.rb', line 20 def function @function end |
#parameter ⇒ Object
Returns the value of attribute parameter.
20 21 22 |
# File 'lib/libisi/task/base.rb', line 20 def parameter @parameter end |