Skip to content

Commit

Permalink
Hashugar#to_hashugar is redundant as we have Object#to_hashugar
Browse files Browse the repository at this point in the history
  • Loading branch information
kenn committed Nov 20, 2014
1 parent c6a46c2 commit c211cf5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/hashugar.rb
Expand Up @@ -28,10 +28,6 @@ def []=(key, value)
@table[convert_key(key)] = value
end

def to_hashugar
self
end

def respond_to?(key)
@table.has_key?(convert_key(key))
end
Expand Down

0 comments on commit c211cf5

Please sign in to comment.