pass environment to builder functions instead of as an initialization parameter

This commit is contained in:
josh committed 2013-07-15 21:41:33 -04:00
1 parent bcfeadeebf
commit c9f6bdb2e2
5 files changed
+19 -21

No files matched your search

+1 -4
View File
@@ -1,12 +1,9 @@
module Rscons
class Builder
def initialize(env)
@env = env
end
def default_variables(env)
{}
end
def produces?(target, source)
def produces?(target, source, env)
false
end
end