Sha256: 813e4066b1c8baa7a36abd4e0a1d6d563b9b895c352abde6ac54aeb35dabc2a0
Contents?: true
Size: 415 Bytes
Versions: 12
Compression:
Stored size: 415 Bytes
Contents
class RakeCommander::Custom::Chained < RakeCommander::Custom::Chainer #namespace :examples # <-- inherited desc 'A task you want to chain to' task :chained option_reopen :s, "It says 'something'", default: %q(I don't know what to "say"...) option_remove :c, :w, :method def task(*_args) puts "Called !!" print_options if options[:b] puts options[:s] if options[:s] end end
Version data entries
12 entries across 12 versions & 1 rubygems