pogo-script 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pogo_script.rb +4 -1
- metadata +1 -1
data/lib/pogo_script.rb
CHANGED
@@ -47,7 +47,10 @@ module PogoScript
|
|
47
47
|
def compile(script, options = {})
|
48
48
|
script = script.read if script.respond_to?(:read)
|
49
49
|
|
50
|
-
Source.context.call("pogoscript.compile", script, {
|
50
|
+
Source.context.call("pogoscript.compile", script, {
|
51
|
+
:ugly => true,
|
52
|
+
:inScope => !options[:bare]
|
53
|
+
}.merge(options))
|
51
54
|
end
|
52
55
|
end
|
53
56
|
end
|