Sha256: 872b56f1e6d3b605f98755d615549308b01108ac6dd9a680e16f082260e68d79
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
module Qrb module Syntax module Heading def attributes(factory) captures[:attribute].map{|x| x.compile(factory) } end def compile(factory) Qrb::Heading.new(attributes(factory)) end def to_ast captures[:attribute].map(&:to_ast).unshift(:heading) end end # module Heading end # module Syntax end # module Qrb
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qrb-0.3.0 | lib/qrb/syntax/heading.rb |