Class: I18n::Tasks::Reports::Base

Inherits:
Object
  • Object
show all
Includes:
Logging
Defined in:
lib/i18n/tasks/reports/base.rb

Direct Known Subclasses

Terminal

Constant Summary

Constants included from Logging

Logging::MUTEX, Logging::PROGRAM_NAME

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Logging

log_error, log_stderr, log_verbose, log_warn, program_name, warn_deprecated

Constructor Details

#initialize(task = I18n::Tasks::BaseTask.new) ⇒ Base

Returns a new instance of Base.



7
8
9
# File 'lib/i18n/tasks/reports/base.rb', line 7

def initialize(task = I18n::Tasks::BaseTask.new)
  @task = task
end

Instance Attribute Details

#taskObject (readonly)

Returns the value of attribute task.



11
12
13
# File 'lib/i18n/tasks/reports/base.rb', line 11

def task
  @task
end