Sha256: 8c88d2d090400eacf77413114ead337dcd54e342f8662eb38bce9a31242eb137
Contents?: true
Size: 705 Bytes
Versions: 171
Compression:
Stored size: 705 Bytes
Contents
module Expressir module Express # Formatter module - format schema as schema head only # @example Include into Formatter subclass # formatter = Class.new(Expressir::Express::Formatter) do # include Expressir::Express::SchemaHeadFormatter # end module SchemaHeadFormatter # @!visibility private def self.included(mod) if !mod.superclass.private_method_defined? :format_declarations_schema or !mod.superclass.private_method_defined? :format_declarations_schema_head raise 'Missing method' end end private def format_declarations_schema(node) format_declarations_schema_head(node) end end end end
Version data entries
171 entries across 171 versions & 1 rubygems