Module: Rubygems::Source::CLI::CommandPatch
- Defined in:
- lib/rubygems-source-cli/command_patch.rb
Instance Method Summary collapse
Instance Method Details
#initialize(*args) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/rubygems-source-cli/command_patch.rb', line 3 def initialize(*args) warning = "* This command is patched by rubygems-source-cli v#{Rubygems::Source::CLI::VERSION} *" say "\n" + (%w(*) * warning.length).join say warning say (%w(*) * warning.length).join + "\n\n" super end |