Class: I18n::Processes::Reports::Base
- Inherits:
-
Object
- Object
- I18n::Processes::Reports::Base
- Includes:
- Logging
- Defined in:
- lib/i18n/processes/reports/base.rb
Direct Known Subclasses
Constant Summary
Constants included from Logging
Logging::MUTEX, Logging::PROGRAM_NAME
Instance Attribute Summary collapse
-
#task ⇒ Object
readonly
Returns the value of attribute task.
Instance Method Summary collapse
-
#initialize(task = I18n::Processes::BaseProcess.new) ⇒ Base
constructor
A new instance of Base.
Methods included from Logging
log_error, log_stderr, log_verbose, log_warn, program_name, warn_deprecated
Constructor Details
#initialize(task = I18n::Processes::BaseProcess.new) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/i18n/processes/reports/base.rb', line 7 def initialize(task = I18n::Processes::BaseProcess.new) @task = task end |
Instance Attribute Details
#task ⇒ Object (readonly)
Returns the value of attribute task.
11 12 13 |
# File 'lib/i18n/processes/reports/base.rb', line 11 def task @task end |