Class: Symbol

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

Instance Method Summary collapse

Instance Method Details

#from(*dependlist) ⇒ Object

Usage:

:app .from "file1" do
  <your command here>
end


103
104
105
# File 'lib/ruby_make_script.rb', line 103

def from(*dependlist)
    PhonyTarget.new(String(self)).from(*dependlist) { yield }
end

#then ⇒ Object

Usage:

:app .then do
  <your command here>
end


114
115
116
# File 'lib/ruby_make_script.rb', line 114

def then
    PhonyTarget.new(String(self)).from() { yield }
end