diff --git a/src/_theme/geoscript/static/site.js b/src/_theme/geoscript/static/site.js
index 531c91d7..3c47b27f 100644
--- a/src/_theme/geoscript/static/site.js
+++ b/src/_theme/geoscript/static/site.js
@@ -98,6 +98,8 @@ var site = {
id: "scala", title: "Scala"
}, {
id: "groovy", title: "Groovy"
+ }, {
+ id: "ruby", title: "Ruby"
}];
var list = $("
");
diff --git a/src/index.rst b/src/index.rst
index 2f370aed..b3117eed 100644
--- a/src/index.rst
+++ b/src/index.rst
@@ -2,7 +2,7 @@
GeoScript adds spatial capabilities to dynamic scripting languages
-GeoScript implementations are available in `JavaScript
`_, `Python `_, `Scala `_, and `Groovy `_.
+GeoScript implementations are available in `JavaScript `_, `Python `_, `Scala `_, `Groovy `_, and `Ruby `_.
.. cssclass:: tab-js ui-tabs-hide
@@ -66,6 +66,29 @@ GeoScript implementations are available in `JavaScript `_, `Python `_, `
groovy:000> poly.area
===> 31214.451522477902
+.. cssclass:: tab-ruby ui-tabs-hide
+
+.. code-block:: ruby
+
+ irb(main):001:0> require 'geoscript'
+ => true
+ irb(main):002:0> include GeoScript::Geom
+ => Object
+ irb(main):003:0> p = Point.create -111.0, 45.7
+ => #>
+ irb(main):004:0> p.to_wkt
+ => "POINT (-111.0 45.7)"
+ irb(main):005:0> p2 = GeoScript::Projection.reproject p, 'epsg:4326', 'epsg:26912'
+ => #
+ irb(main):006:0> p2.x
+ => 500000.0
+ irb(main):007:0> p2.y
+ => 5060716.313515949
+ irb(main):008:0> poly = p2.buffer 100
+ => #
+ irb(main):009:0> poly.get_area
+ => 31214.451522458345
+
Find out more :ref:`about ` the GeoScript project and how to :ref:`get involved `. See the :ref:`learning center ` for an
overview of the library.