lib/rgeo/geo_json/interface.rb in rgeo-geojson-0.2.2 vs lib/rgeo/geo_json/interface.rb in rgeo-geojson-0.2.3
- old
+ new
@@ -61,20 +61,20 @@
# The input may be a JSON hash, a String, or an IO object from which
# to read the JSON string.
#
# Options include:
#
- # <tt>:geo_factory</tt>::
+ # [<tt>:geo_factory</tt>]
# Specifies the geo factory to use to create geometry objects.
# Defaults to the preferred cartesian factory.
- # <tt>:entity_factory</tt>::
+ # [<tt>:entity_factory</tt>]
# Specifies an entity factory, which lets you override the types
# of GeoJSON entities that are created. It defaults to the default
# RGeo::GeoJSON::EntityFactory, which generates objects of type
# RGeo::GeoJSON::Feature or RGeo::GeoJSON::FeatureCollection.
# See RGeo::GeoJSON::EntityFactory for more information.
- # <tt>:json_parser</tt>::
+ # [<tt>:json_parser</tt>]
# Specifies a JSON parser to use when decoding a String or IO
# object. The value may be a Proc object taking the string as the
# sole argument and returning the JSON hash, or it may be one of
# the special values <tt>:json</tt>, <tt>:yajl</tt>, or
# <tt>:active_support</tt>. Setting one of those special values
@@ -94,19 +94,19 @@
# RGeo::Feature::Factory and the RGeo::GeoJSON::EntityFactory to be
# used).
#
# The geo factory is a required argument. Other options include:
#
- # <tt>:geo_factory</tt>::
+ # [<tt>:geo_factory</tt>]
# Specifies the geo factory to use to create geometry objects.
# Defaults to the preferred cartesian factory.
- # <tt>:entity_factory</tt>::
+ # [<tt>:entity_factory</tt>]
# Specifies an entity factory, which lets you override the types
# of GeoJSON entities that are created. It defaults to the default
# RGeo::GeoJSON::EntityFactory, which generates objects of type
# RGeo::GeoJSON::Feature or RGeo::GeoJSON::FeatureCollection.
# See RGeo::GeoJSON::EntityFactory for more information.
- # <tt>:json_parser</tt>::
+ # [<tt>:json_parser</tt>]
# Specifies a JSON parser to use when decoding a String or IO
# object. The value may be a Proc object taking the string as the
# sole argument and returning the JSON hash, or it may be one of
# the special values <tt>:json</tt>, <tt>:yajl</tt>, or
# <tt>:active_support</tt>. Setting one of those special values