class RoboPigeon::Dsl::Base
this inherits from job, so that the job dsls are available in extensions. That's very helpful if you're trying to write an extension that interfaces with another extension or built in.
Public Instance Methods
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/robopigeon/dsl/base.rb, line 10 def method_missing(method, *args) self.class.class_exec do include RoboPigeon::Dsl::Helpers end if respond_to?(method) send(method, *args) else super end end
respond_to_missing?(method, include_private)
click to toggle source
# File lib/robopigeon/dsl/base.rb, line 6 def respond_to_missing?(method, include_private) RoboPigeon::Dsl::Helpers.instance_methods(include_private).include?(method) end