data/tasks/bones.rake in bones-2.0.0 vs data/tasks/bones.rake in bones-2.0.1
- old
+ new
@@ -4,10 +4,10 @@
namespace :bones do
desc 'Show the PROJ open struct'
task :debug do |t|
- atr = if ARGV.length == 2
+ atr = if t.application.top_level_tasks.length == 2
t.application.top_level_tasks.pop
end
if atr then Bones::Debug.show_attr(PROJ, atr)
else Bones::Debug.show PROJ end