Class: RoCommands::RoGist
Instance Method Summary collapse
Methods inherited from Base
describe, inherited, method_added, meths, start, usage
Methods included from Bash
#_bash, #add_time, #bash, #bash_capture, #bash_capture_array, #bash_lines, #bash_per, #bash_system, #bundle_exec, #err, err, #handle_path, #kernel_system, out, #out, #status, status
Instance Method Details
#deprecate(*dirs) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/ro_commands/ro_gist.rb', line 12 def deprecate(*dirs) files = [] dirs.each do |dir| files << ::Find.find(dir).select do |p| test(?f, p) and p.match(%r{\.rb$}) end end upload("deprecated dirs:#{dirs}", files) end |