Skip to content

Commit

Permalink
Merge 69331fb into bcf433d
Browse files Browse the repository at this point in the history
  • Loading branch information
chetan committed Jun 6, 2013
2 parents bcf433d + 69331fb commit 85911dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/multi_json.rb
Expand Up @@ -138,7 +138,9 @@ def load(string, options={})

def current_adapter(options={})
if new_adapter = options[:adapter]
load_adapter(new_adapter)
a = load_adapter(new_adapter)
a.activate!
a
else
adapter
end
Expand Down

0 comments on commit 85911dd

Please sign in to comment.