Sha256: 7832a8b4121516f8aee4fd1a2a30c0a005a839feda77ef7fcdd67f23c5348e83

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 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

    end # module Heading
  end # module Syntax
end # module Qrb

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qrb-0.2.0 lib/qrb/syntax/heading.rb
qrb-0.1.0 lib/qrb/syntax/heading.rb