Sha256: 1b3c9f583e47cba16932e691f05f1a4d28c067c1296b3d5a958ee06ef60cefa5

Contents?: true

Size: 187 Bytes

Versions: 9

Compression:

Stored size: 187 Bytes

Contents

module VGen
  class IntGen
    def initialize(
          range=(0..10)
        )
      @range = range
    end

    def call()
      Random.new.rand(@range)
    end
  end
end

Version data entries

9 entries across 7 versions & 2 rubygems

Version Path
bsielski_control_flow-1.0.0 vendor/bundle/ruby/2.5.0/gems/bsielski_value_generator-1.4.0/lib/v_gen/int_gen.rb
bsielski_control_flow-1.0.0 vendor/bundle/ruby/2.5.0/gems/bsielski_value_generator-1.3.0/lib/v_gen/int_gen.rb
bsielski_control_flow-1.0.0 vendor/bundle/ruby/2.5.0/gems/bsielski_value_generator-1.2.0/lib/bsielski_v_gen/int_gen.rb
bsielski_value_generator-1.4.0 lib/v_gen/int_gen.rb
bsielski_value_generator-1.3.0 lib/v_gen/int_gen.rb
bsielski_value_generator-1.2.0 lib/bsielski_v_gen/int_gen.rb
bsielski_value_generator-1.1.0 lib/bsielski_v_gen/int_gen.rb
bsielski_value_generator-1.0.1 lib/bsielski_v_gen/int_gen.rb
bsielski_value_generator-1.0.0 lib/bsielski_v_gen/int_gen.rb