Module: PairKit::JsonSchema::Dsl::ConstPartialDsl
- Included in:
- CommonPartialDsl
- Defined in:
- lib/pair_kit/json_schema/dsl/partials/const_partial_dsl.rb
Instance Method Summary collapse
- #const(value) ⇒ Object (also: #eq)
Instance Method Details
#const(value) ⇒ Object Also known as: eq
7 8 9 |
# File 'lib/pair_kit/json_schema/dsl/partials/const_partial_dsl.rb', line 7 def const(value) @subject['const'] = value end |