Module: PairKit::JsonSchema::Dsl::EnumPartialDsl
- Included in:
- CommonPartialDsl
- Defined in:
- lib/pair_kit/json_schema/dsl/partials/enum_partial_dsl.rb
Overview
Instance Method Summary collapse
- #enum(*args) ⇒ Object (also: #in)
Instance Method Details
#enum(*args) ⇒ Object Also known as: in
8 9 10 |
# File 'lib/pair_kit/json_schema/dsl/partials/enum_partial_dsl.rb', line 8 def enum(*args) @subject['enum', []] += args end |