Sha256: 708c5ac92af5be600f35684e21cec01b917a1fc39bc688590d1f41688e07eef6
Contents?: true
Size: 337 Bytes
Versions: 28
Compression:
Stored size: 337 Bytes
Contents
require "expressir/express_exp/formatter" module Expressir module ExpressExp class SchemaHeadFormatter < Formatter def format_schema(node) [ "SCHEMA #{node.id}#{node.version ? " #{format(node.version)}" : ""};", *node.interfaces.map{|x| format(x)} ].join("\n") end end end end
Version data entries
28 entries across 28 versions & 1 rubygems