lib/qed/script.rb in qed-2.2.1 vs lib/qed/script.rb in qed-2.2.2
- old
+ new
@@ -21,21 +21,21 @@
# New Script
def initialize(applique, file, scope=nil)
@applique = applique.dup # localize copy of applique
@file = file
- @scope = scope || Scope.new(applique)
+ @scope = scope || Scope.new(applique, file)
@binding = @scope.__binding__
#@loadlist = []
#apply_environment
end
# One binding per script.
def binding
@binding #||= @scope.__binding__
end
- #
+ # TODO: demo advice vs. applique advice
def advice
#@scope.__advice__
@applique.__advice__
end