module JavaScript

Constants

NO_CONFLICT
VERSION

Public Class Methods

current_scope() click to toggle source
# File lib/javascript.rb, line 16
def self.current_scope
  @scope
end
current_scope=(scope) click to toggle source
# File lib/javascript.rb, line 20
def self.current_scope=(scope)
  @scope = scope
end
eval(&block) click to toggle source
# File lib/javascript.rb, line 12
def self.eval(&block)
  Scope.new.__eval__(&block)
end