Sha256: 363d00694eeeee9a53e2eae9c9af493ab16c10c1258e2b72b5209fba9ade3941
Contents?: true
Size: 708 Bytes
Versions: 15
Compression:
Stored size: 708 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) || !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
15 entries across 15 versions & 1 rubygems