Module: MimiCheck::Generator

Included in:
Array, Bool, Byte, Carousel, Char, Elements, Float, Int, String, SuchThat, UInt, Wrapper
Defined in:
lib/mimicheck/generator.rb,
lib/mimicheck/generator/int.rb,
lib/mimicheck/generator/bool.rb,
lib/mimicheck/generator/byte.rb,
lib/mimicheck/generator/char.rb,
lib/mimicheck/generator/uint.rb,
lib/mimicheck/generator/array.rb,
lib/mimicheck/generator/float.rb,
lib/mimicheck/generator/string.rb,
lib/mimicheck/generator/wrapper.rb,
lib/mimicheck/generator/carousel.rb,
lib/mimicheck/generator/elements.rb,
lib/mimicheck/generator/such_that.rb

Defined Under Namespace

Classes: Array, Bool, Byte, Carousel, Char, Elements, Float, Int, String, SuchThat, UInt, Wrapper

Instance Method Summary collapse

Instance Method Details

#callObject



16
17
18
# File 'lib/mimicheck/generator.rb', line 16

def call(*)
  generate
end

#to_procObject



20
21
22
# File 'lib/mimicheck/generator.rb', line 20

def to_proc
  -> (*) { call }
end