Skip to content

Commit

Permalink
remove ruby 1.8 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
NARKOZ committed Oct 20, 2013
1 parent 7b20b8f commit 3c18ad0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/gitlab/objectified_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ def initialize(hash)
end
end

# Patches Object#id in Ruby 1.8
def id
@data['id']
end

# Delegate to ObjectifiedHash
def method_missing(key)
@data.key?(key.to_s) ? @data[key.to_s] : nil
Expand Down

0 comments on commit 3c18ad0

Please sign in to comment.