Module: Rakeman
- Defined in:
- lib/rakeman.rb,
lib/rakeman/engine.rb,
lib/rakeman/version.rb,
lib/rakeman/configuration.rb,
app/models/rakeman/rake_task.rb,
app/services/rakeman/manager.rb,
app/models/rakeman/task_parameter.rb,
app/models/rakeman/application_record.rb,
app/mailers/rakeman/application_mailer.rb,
lib/generators/rakeman/install_generator.rb,
app/controllers/rakeman/application_controller.rb
Defined Under Namespace
Modules: TaskCreator, TaskRunner, TaskUpdater
Classes: ApplicationController, ApplicationMailer, ApplicationRecord, Configuration, Engine, InstallGenerator, Manager, RakeTask, RakeTasksController, TaskParameter
Constant Summary
collapse
- VERSION =
'0.2.0'
Class Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *arguments, &block) ⇒ Object
13
14
15
16
17
|
# File 'lib/rakeman.rb', line 13
def method_missing(method_name, *arguments, &block)
return super unless configuration.respond_to?(method_name)
configuration.public_send(method_name, *arguments, &block)
end
|
Class Method Details
9
10
11
|
# File 'lib/rakeman.rb', line 9
def configure
yield(configuration)
end
|
.method_missing(method_name, *arguments, &block) ⇒ Object
13
14
15
16
17
|
# File 'lib/rakeman.rb', line 13
def method_missing(method_name, *arguments, &block)
return super unless configuration.respond_to?(method_name)
configuration.public_send(method_name, *arguments, &block)
end
|
.respond_to_missing?(method_name, include_private = false) ⇒ Boolean
19
20
21
|
# File 'lib/rakeman.rb', line 19
def respond_to_missing?(method_name, include_private = false)
configuration.respond_to?(method_name) || super
end
|