class ActiveSupport::OrderedHash

Public Instance Methods

first() click to toggle source
# File lib/hobo_support/hash.rb, line 120
def first
  empty? ? nil : [keys.first, values.first]
end