Top Level Namespace

Defined Under Namespace

Modules: Ros, Rsh Classes: Ssh

Instance Method Summary collapse

Instance Method Details

#package(*a, &b) ⇒ Object



1
2
3
4
5
6
7
8
9
# File 'lib/ros/rake.rb', line 1

def package *a, &b
  task *a do |task, *args|
    Ros.each_box_cached do |box|
      package = Ros::Package.new task.name
      package.configure_with &b
      package.apply_to box
    end    
  end  
end