module StatsHash

Public Instance Methods

each_sorted() { |key, hash| ... } click to toggle source
# File lib/gitstats/stats.rb, line 6
def each_sorted
  @hash.keys.sort.each do |key|
    yield key, @hash[key]
  end
end
method_missing(method, *args, &block) click to toggle source
# File lib/gitstats/stats.rb, line 2
def method_missing(method, *args, &block)
  @hash.send(method, *args, &block)
end