public
Rubygem
Description: Johnson wraps JavaScript in a loving Ruby embrace.
Homepage: http://github.com/jbarnette/johnson/wikis
Clone URL: git://github.com/jbarnette/johnson.git
jbarnette (author)
Sat Apr 26 10:39:10 -0700 2008
commit  e7228868cf7bf137672659679a88ab6b1acbfdba
tree    76e66a17ffae75f872013ce6af31dbdb6684639f
parent  2a6d58a1923b5bd5f815d768a53d58cd820e06fd
johnson / README.txt
100644 48 lines (33 sloc) 1.539 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
= johnson
 
* http://github.com/jbarnette/johnson
* http://johnson.lighthouseapp.com
* http://johnson.rubyforge.org
 
== DESCRIPTION:
 
Johnson wraps JavaScript in a loving Ruby embrace.
 
== SYNOPSIS:
 
  # FIXME: write some decent examples
  require "johnson"
  
  Johnson.evaluate("4 + 4") # => 8
  Johnson.evaluate("4 + foo", :foo => 4) # => 8
 
== INSTALL:
 
  sudo gem install johnson
 
== LICENSE:
 
(The MIT License)
 
Copyright (c) 2008 John Barnette, Aaron Patterson,
                   Yehuda Katz, Matthew Draper
 
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
 
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.