Method: Fixtures::Boolean#simple

Defined in:
lib/data_model/fixtures/boolean.rb

#simpleExample

a simple boolean example

Returns:



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/data_model/fixtures/boolean.rb', line 9

def simple
  Example.new(
    [:boolean],
    variants: {
      true: true,
      false: false,
      string: ["true", true],
      missing: nil
    },
  )
end