Sha256: f5b474d7396841453d1c740df032cfbd149abcb8faeab4b8c480c27d5414cbf6
Contents?: true
Size: 801 Bytes
Versions: 4
Compression:
Stored size: 801 Bytes
Contents
require 'forwardable' ## # Delegates the following methods: # # * Commander::Runner#add_command # * Commander::Runner#command # * Commander::Runner#commands # * Commander::Runner#program # * Commander::UI::ProgressBar#progress # class Object extend Forwardable include Commander::UI include Commander::UI::AskForClass #-- # UI related delegation. #++ def_delegators Commander::UI::ProgressBar, :progress #-- # Command runner delegation. #++ def_delegators :$command_runner, :add_command, :command, :program, :run!, :global_option, :commands, :alias_command, :default_command ## # Return the current binding. def get_binding binding end ## # Return the current command runner. def command_runner $command_runner end end
Version data entries
4 entries across 4 versions & 1 rubygems