Sha256: 15ed464b608b9f891c558f03826fa65816fae8c7a8dbcf94ebf571f1784b4cab

Contents?: true

Size: 205 Bytes

Versions: 3

Compression:

Stored size: 205 Bytes

Contents

module StatsHash
  def method_missing(method, *args, &block)
    @hash.send(method, *args, &block)
  end

  def each_sorted
    @hash.keys.sort.each do |key|
      yield key, @hash[key]
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
gitstats-rb-2.0.0 lib/gitstats/stats.rb
gitstats-ruby-1.0.1 lib/gitstats/stats.rb
gitstats-ruby-1.0.0 lib/gitstats/stats.rb