Sha256: c9c14389b968753871dcd748353960f677c31a467302acf20db22815f12e29c0

Contents?: true

Size: 855 Bytes

Versions: 3

Compression:

Stored size: 855 Bytes

Contents

# |
- "'a' | 'b' | 'c'" : "'a' | 'b' | 'c'"

# except
- "'a'.except('b')" : "'a'.except('b')"
- "'a'.except('b'.except('c'))" : "'a'.except('b'.except('c'))"

# exceptions
- "'b'" : "'a'.except('b').exceptions"

# accept_nonexistence?
- "false" : "'a'.accept_nonexistence?"
- "false" : "('a' or 'a').accept_nonexistence?"
- "true" : "('a' or null).accept_nonexistence?"
- "true" : "(null or 'a').accept_nonexistence?"
- "true" : "(null or null).accept_nonexistence?"
- "false | false | false" : "('a' | 'b' | 'c').accept_nonexistence?"
- "true | false | false" : "('a' or null | 'b' | 'c').accept_nonexistence?"
- "true | true | false" : "('a' or null | 'b' or null | 'c').accept_nonexistence?"
- "true | true | true" : "('a' or null | 'b' or null | 'c' or null).accept_nonexistence?"

# as_string
- '"a b c"' : "('a' | 'b' | 'c').as_string.join(\" \")"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pione-0.2.2 test/model/spec_data-expr.yml
pione-0.2.1 test/model/spec_data-expr.yml
pione-0.2.0 test/model/spec_data-expr.yml