Sha256: 3698d92bbe04462fb712ca53be10c4e3fc96fa2fab51dda42d1aa5950dd41346
Contents?: true
Size: 166 Bytes
Versions: 2
Compression:
Stored size: 166 Bytes
Contents
# frozen_string_literal: true module Rgot class PB def initialize(bn:) @bn = bn end def next (0 < @bn).tap { @bn -= 1 } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rgot-1.4.0 | lib/rgot/pb.rb |
rgot-1.3.0 | lib/rgot/pb.rb |