Sha256: 566d4768b5e3c52a3fd91cb2ed128712c4860057c3b40fdf9ff34bc0c9c5a27a
Contents?: true
Size: 427 Bytes
Versions: 19
Compression:
Stored size: 427 Bytes
Contents
module Finitio module Syntax module RelationType include Node capture :heading def compile(factory) factory.send(kind, heading.compile(factory)) end def to_ast [ :"#{kind}_type", heading.to_ast ] end private def kind heading.multi? ? :multi_relation : :relation end end # module RelationType end # module Syntax end # module Finitio
Version data entries
19 entries across 19 versions & 1 rubygems