mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
body text was a comment
This commit is contained in:
parent
14e01345c9
commit
4dc7f7e7d6
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ Embed the V8 JavaScript interpreter into Ruby.
|
||||||
then in your Ruby code
|
then in your Ruby code
|
||||||
|
|
||||||
require 'v8'
|
require 'v8'
|
||||||
# or if using bundler (as with Rails), add the following to your Gemfile
|
|
||||||
|
or if using bundler (as with Rails), add the following to your Gemfile
|
||||||
|
|
||||||
gem "therubyracer"
|
gem "therubyracer"
|
||||||
|
|
||||||
evaluate some simple JavaScript
|
evaluate some simple JavaScript
|
||||||
|
|
Loading…
Add table
Reference in a new issue