Object
# File lib/less/java_script/v8_context.rb, line 41 def call(properties, *args) args.last.is_a?(::Hash) ? args.pop : nil # extract_options! lock do @v8_context.eval(properties).call(*args) end end
# File lib/less/java_script/v8_context.rb, line 33 def eval(source, options = nil) # passing options not supported source = source.encode('UTF-8') if source.respond_to?(:encode) lock do @v8_context.eval("(#{source})") end end
# File lib/less/java_script/v8_context.rb, line 29 def exec(&block) lock(&block) end
Generated with the Darkfish Rdoc Generator 2.