Skip to content

Commit

Permalink
v6.5.5 adds #to_h
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoward committed Sep 11, 2014
1 parent 0dd79af commit 73184d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/map.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- encoding : utf-8 -*-
class Map < Hash
Version = '6.5.4' unless defined?(Version)
Version = '6.5.5' unless defined?(Version)
Load = Kernel.method(:load) unless defined?(Load)

class << Map
Expand Down Expand Up @@ -597,6 +597,7 @@ def to_hash
end
hash
end
alias_method 'to_h', 'to_hash'

def to_yaml( opts = {} )
map = self
Expand Down
2 changes: 1 addition & 1 deletion map.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Gem::Specification::new do |spec|
spec.name = "map"
spec.version = "6.5.4"
spec.version = "6.5.5"
spec.platform = Gem::Platform::RUBY
spec.summary = "map"
spec.description = "the awesome ruby container you've always wanted: a string/symbol indifferent ordered hash that works in all rubies"
Expand Down

0 comments on commit 73184d2

Please sign in to comment.