Sha256: fd359c6e800094daaaf4e93f8163d5ecd18d61646f50a0718ee52accfa22464e
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 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 !!" puts options[:s] if options[:s] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rake-commander-0.2.2 | examples/02_b_chained_example.rb |
rake-commander-0.2.0 | examples/02_b_chained_example.rb |