diff options
author | Michael Bleigh <mbleigh@mbleigh.com> | 2014-04-11 21:53:16 +0000 |
---|---|---|
committer | Michael Bleigh <mbleigh@mbleigh.com> | 2014-04-11 21:53:16 +0000 |
commit | d1c958ed03877716de6b4016550d4ffe7715d119 (patch) | |
tree | 7a3f2fce0e3e849e3e0be5e0374525fd78e19b85 /lib/hashie/hash.rb | |
parent | 3e9443df3235f619cdbbc0e7fad113f00ed240bf (diff) | |
download | hashie-d1c958ed03877716de6b4016550d4ffe7715d119.tar.gz |
Fix Rubocop issues.
Diffstat (limited to 'lib/hashie/hash.rb')
-rw-r--r-- | lib/hashie/hash.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hashie/hash.rb b/lib/hashie/hash.rb index 2304872..fae6222 100644 --- a/lib/hashie/hash.rb +++ b/lib/hashie/hash.rb @@ -29,9 +29,9 @@ module Hashie def to_json(*args) to_hash.to_json(*args) end - + private - + def flexibly_convert_to_hash(object, options = {}) if object.method(:to_hash).arity == 0 object.to_hash |