Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
These similar methods exist in v7.1.3.2:
included(base)
public
Even more convenient access to commands. Include Commands in the generator Base class to get a nice
#command instance method
which returns a delegate for the requested command.
Show source
def self.included(base)
base.send(:define_method, :command) do |command|
Commands.instance(command, self)
end
end