class Object

Public Instance Methods

Rantly(n = 1, &block) click to toggle source
# File lib/rantly.rb, line 9
def Rantly(n = 1, &block)
  if n > 1
    Rantly.map(n, &block)
  else
    Rantly.value(&block)
  end
end
property_of(&blk) click to toggle source
# File lib/rantly/minitest_extensions.rb, line 11
def property_of(&blk)
  Rantly::Property.new(blk)
end