class Paquet::Task
Public Class Methods
new(target_path, cache_path = nil, &block)
click to toggle source
# File lib/paquet/rspec/tasks.rb, line 19 def initialize(target_path, cache_path = nil, &block) @gem = Gem.new(target_path, cache_path) instance_eval(&block) namespace :paquet do desc "Build a pack with #{@gem.size} gems: #{@gem.gems.join(",")}" task :vendor do @gem.pack end end end
Public Instance Methods
ignore(name)
click to toggle source
# File lib/paquet/rspec/tasks.rb, line 36 def ignore(name) @gem.ignore(name) end
pack(name)
click to toggle source
# File lib/paquet/rspec/tasks.rb, line 32 def pack(name) @gem.add(name) end