Sha256: e0acd6f041151370c4c3e9bc90a93c5153e8bd09dcdb0c7706cb837943082d7d

Contents?: true

Size: 283 Bytes

Versions: 7

Compression:

Stored size: 283 Bytes

Contents

module Expressir
  module ExpressExp
    module SchemaHeadFormatter
      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

7 entries across 7 versions & 1 rubygems

Version Path
expressir-0.2.16 lib/expressir/express_exp/schema_head_formatter.rb
expressir-0.2.16-x86_64-linux lib/expressir/express_exp/schema_head_formatter.rb
expressir-0.2.16-x86_64-darwin lib/expressir/express_exp/schema_head_formatter.rb
expressir-0.2.16-x86-mingw32 lib/expressir/express_exp/schema_head_formatter.rb
expressir-0.2.16-x86-linux lib/expressir/express_exp/schema_head_formatter.rb
expressir-0.2.16-x64-mingw32 lib/expressir/express_exp/schema_head_formatter.rb
expressir-0.2.16-arm64-darwin lib/expressir/express_exp/schema_head_formatter.rb