Class: Formatafacil::Tarefa
- Inherits:
-
Object
- Object
- Formatafacil::Tarefa
- Defined in:
- lib/formatafacil/tarefa.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
- #executa ⇒ Object
-
#initialize(h = {}) ⇒ Tarefa
constructor
A new instance of Tarefa.
Constructor Details
#initialize(h = {}) ⇒ Tarefa
Returns a new instance of Tarefa.
7 8 9 |
# File 'lib/formatafacil/tarefa.rb', line 7 def initialize(h={}) h.each {|k,v| send("#{k}=",v)} end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/formatafacil/tarefa.rb', line 5 def logger @logger end |
Instance Method Details
#executa ⇒ Object
11 12 |
# File 'lib/formatafacil/tarefa.rb', line 11 def executa end |