diff options
author | Florian Frank <flori@ping.de> | 2011-06-17 17:15:29 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-06-20 12:04:34 +0200 |
commit | a297194cbaf482b32c2e777a4069163d67d48233 (patch) | |
tree | 8461e3e96798cf83934941f94cc670181fee49d5 /lib | |
parent | 9e41c1997c096330634e5596db8265eb7e7072f9 (diff) | |
download | json-a297194cbaf482b32c2e777a4069163d67d48233.tar.gz |
Alias State#configure method as State#merge
This increases duck type synonymy with Hash
Diffstat (limited to 'lib')
-rw-r--r-- | lib/json/pure/generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/json/pure/generator.rb b/lib/json/pure/generator.rb index 9bdfe02..9790250 100644 --- a/lib/json/pure/generator.rb +++ b/lib/json/pure/generator.rb @@ -212,6 +212,7 @@ module JSON end self end + alias merge configure # Returns the configuration instance variables as a hash, that can be # passed to the configure method. |