Sha256: 99e67da4e6875be1581770fab17c3305c5995931c7a30b8ae737ed41f958276a

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 Bytes

Contents

module Qrb
  module Syntax
    module NamedConstraint

      def compile(var_name)
        { constraint_name.to_sym => expression.compile(var_name) }
      end

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