Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_make_script.rb

Instance Method Summary collapse

Instance Method Details

#from(*dependlist) ⇒ Object

Usage:

["file1", "file2"] .from "file3", "file4" do
  <your command here>
end


140
141
142
143
# File 'lib/ruby_make_script.rb', line 140

def from(*dependlist)
    tar = FileTarget.new(self)
    tar.from(*dependlist) { yield }
end