Class: MimiCheck::Generator::Bool

Inherits:
Object
  • Object
show all
Includes:
MimiCheck::Generator
Defined in:
lib/mimicheck/generator/bool.rb

Instance Method Summary collapse

Methods included from MimiCheck::Generator

#call, #to_proc

Constructor Details

#initializeBool

Returns a new instance of Bool.



6
7
8
# File 'lib/mimicheck/generator/bool.rb', line 6

def initialize
  @elements_gen = Elements.new(true, false)
end

Instance Method Details

#generateObject



12
13
14
# File 'lib/mimicheck/generator/bool.rb', line 12

def generate
  elements_gen.generate
end