Sha256: f8d306f7ee9b3a320a010ef2399c5a3ec010d2507c1aa68906320ad4df564f0f

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__)) unless
  $LOAD_PATH.include?(File.dirname(__FILE__)) || $LOAD_PATH.include?(__dir__)

class Rantly
end

require 'rantly/generator'

def Rantly(n = 1, &block)
  if n > 1
    Rantly.map(n, &block)
  else
    Rantly.value(&block)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rantly-3.0.0 lib/rantly.rb
rantly-2.0.0 lib/rantly.rb