Sha256: b929e7288ed292f0542330e88e3b9318b56e3548c3149bf5c76f417f57a981ad

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

module Qrb
  module Syntax
    module TypeRef

      def compile(factory)
        factory.fetch(type_name.to_s) do |n|
          raise Error, "Unknown type `#{n}`"
        end
      end

    end # module TypeRef
  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/type_ref.rb
qrb-0.1.0 lib/qrb/syntax/type_ref.rb