Permalink
Browse files

updated docs for symbolize_keys

  • Loading branch information...
Peter Ohler
Peter Ohler committed Jun 26, 2012
1 parent da0aee7 commit efbf860efd05155c41faaac16ab604f0c93070ae
Showing with 9 additions and 3 deletions.
  1. +2 −0 .gitignore
  2. +2 −2 build_test.sh
  3. +4 −0 ext/ox/ox.c
  4. +1 −1 lib/ox/version.rb
View
@@ -9,3 +9,5 @@ Makefile
.rbenv-version
*.rbc
.rbx
+.yardoc
+doc
View
@@ -5,11 +5,11 @@ export RBXOPT=-X19
for ruby in \
1.8.7-p358\
1.9.2-p290\
- 1.9.3-p194\
jruby-1.6.7\
rbx-1.2.4\
rbx-2.0.0-dev\
- ree-1.8.7-2012.02
+ ree-1.8.7-2012.02\
+ 1.9.3-p194
do
echo "\n********************************************************************************"
echo "Building $ruby\n"
View
@@ -162,6 +162,7 @@ static void parse_dump_options(VALUE ropts, Options copts);
* - xsd_date: [true|false|nil] use XSD date format instead of decimal format
* - mode: [:object|:generic|:limited|nil] load method to use for XML
* - effort: [:strict|:tolerant|:auto_define] set the tolerance level for loading
+ * - symbolize_keys: [true|false|nil] symbolize element attribute keys or leave as Strings
* @return [Hash] all current option settings.
*/
static VALUE
@@ -209,6 +210,7 @@ get_def_opts(VALUE self) {
* @param [true|false|nil] :xsd_date use XSD date format instead of decimal format
* @param [:object|:generic|:limited|nil] :mode load method to use for XML
* @param [:strict|:tolerant|:auto_define] :effort set the tolerance level for loading
+ * @param [true|false|nil] :symbolize_keys symbolize element attribute keys or leave as Strings
* @return [nil]
*/
static VALUE
@@ -425,6 +427,7 @@ load(char *xml, int argc, VALUE *argv, VALUE self) {
* - *:tolerant* - return nil for missing classes and modules
* - *:auto_define* - auto define missing classes and modules
* @param [Fixnum] :trace trace level as a Fixnum, default: 0 (silent)
+ * @param [true|false|nil] :symbolize_keys symbolize element attribute keys or leave as Strings
*/
static VALUE
load_str(int argc, VALUE *argv, VALUE self) {
@@ -464,6 +467,7 @@ load_str(int argc, VALUE *argv, VALUE self) {
* - *:tolerant* - return nil for missing classes and modules
* - *:auto_define* - auto define missing classes and modules
* @param [Fixnum] :trace trace level as a Fixnum, default: 0 (silent)
+ * @param [true|false|nil] :symbolize_keys symbolize element attribute keys or leave as Strings
*/
static VALUE
load_file(int argc, VALUE *argv, VALUE self) {
View
@@ -1,5 +1,5 @@
module Ox
# Current version of the module.
- VERSION = '1.5.7'
+ VERSION = '1.5.8'
end

0 comments on commit efbf860

Please sign in to comment.