Module: Apress::Documentation::Dsl::SwaggerDocument
- Included in:
- Storage::SwaggerDocument
- Defined in:
- lib/apress/documentation/dsl/swagger_document.rb
Instance Method Summary collapse
-
#compile(fields = {}, &block) ⇒ Object
Public: Подключает DSL в класс данных swagger-описания.
Instance Method Details
#compile(fields = {}, &block) ⇒ Object
Public: Подключает DSL в класс данных swagger-описания
8 9 10 |
# File 'lib/apress/documentation/dsl/swagger_document.rb', line 8 def compile(fields = {}, &block) Apress::Documentation::Dsl::Compilers::SwaggerCompiler.new(self).compile(fields, &block) end |