Sha256: 6511b506623d71597b671c6e8f14eda925984c10a971c3bf273c3354229e6841
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
require 'ronin/ui/command_line/command' class TestCommand < Ronin::UI::CommandLine::Command map '-m' => :mapped_task no_tasks do def test_name self.name end end desc 'default [ARGS]', 'Tests the default task' def default(*arguments) 'default task' end desc "mapped_task", "An example mapped task" def mapped_task 'mapped task' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ronin-0.3.0 | spec/ui/command_line/classes/test_command.rb |