Module: PairKit::JsonSchema::Dsl::TypePartialDsl
- Defined in:
- lib/pair_kit/json_schema/dsl/partials/type_partial_dsl.rb
Defined Under Namespace
Modules: Base
Class Method Summary collapse
Class Method Details
.apply_to(&subject_resolver) ⇒ Object
59 60 61 62 63 64 65 66 67 |
# File 'lib/pair_kit/json_schema/dsl/partials/type_partial_dsl.rb', line 59 def self.apply_to(&subject_resolver) Module.new do include Base private define_method(:_subject_, &subject_resolver) end end |