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.
Class Method Summary collapse
Instance Method Summary collapse
- #executa ⇒ Object
-
#initialize(h = {}) ⇒ Tarefa
constructor
A new instance of Tarefa.
Constructor Details
#initialize(h = {}) ⇒ 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 |
Class Method Details
.arquivo_configuracao ⇒ Object
15 16 17 |
# File 'lib/formatafacil/tarefa.rb', line 15 def self.arquivo_configuracao 'config/1-configuracoes-gerais.yaml' end |
Instance Method Details
#executa ⇒ Object
11 12 |
# File 'lib/formatafacil/tarefa.rb', line 11 def executa end |