RKelly::JS::Base
# File lib/rkelly/js/boolean.rb, line 5 def create(*args) return false if args.length == 0 self.new(args.first) end
# File lib/rkelly/js/boolean.rb, line 10 def initialize(*args) super() value = args.first.nil? ? false : args.first self['valueOf'] = value self['valueOf'].function = lambda { value } self['toString'] = args.first.to_s end
[Validate]
Generated with the Darkfish Rdoc Generator 2.