Sha256: 8495359264a4e3c9657d51310e4ab8e769944fe0f7cbd781d9688addab71fe48
Contents?: true
Size: 338 Bytes
Versions: 20
Compression:
Stored size: 338 Bytes
Contents
class Ppl::Application::Router attr_accessor :default def initialize(command_suite) @command_suite = command_suite end def route(argument) command = @command_suite.find_command(argument) if command.nil? && !@default.nil? command = @command_suite.find_command(@default) end return command end end
Version data entries
20 entries across 20 versions & 1 rubygems