Module: Target
- Included in:
- FileTarget, PhonyTarget
- Defined in:
- lib/ruby_make_script/target.rb
Instance Method Summary collapse
- #add ⇒ Object
- #depend_each ⇒ Object
- #depend_modified? ⇒ Boolean
- #from(*dependlist) ⇒ Object
- #resolve_all ⇒ Object
- #run ⇒ Object
Instance Method Details
#add ⇒ Object
30 31 32 |
# File 'lib/ruby_make_script/target.rb', line 30 def add raise nil end |
#depend_each ⇒ Object
8 9 10 11 12 |
# File 'lib/ruby_make_script/target.rb', line 8 def depend_each depend.each { |f| yield f } end |
#depend_modified? ⇒ Boolean
14 15 16 |
# File 'lib/ruby_make_script/target.rb', line 14 def depend_modified? return depend.map{ |f| file_modified?(f) }.reduce(false, :|) end |
#from(*dependlist) ⇒ Object
26 27 28 |
# File 'lib/ruby_make_script/target.rb', line 26 def from(*dependlist) raise nil end |
#resolve_all ⇒ Object
18 19 20 |
# File 'lib/ruby_make_script/target.rb', line 18 def resolve_all raise nil end |
#run ⇒ Object
22 23 24 |
# File 'lib/ruby_make_script/target.rb', line 22 def run raise nil end |