Sha256: 0e0b7cac817e11bc458d1da7c35ab3a5eb338f9bf840f938177f0187bc46da1a

Contents?: true

Size: 279 Bytes

Versions: 3

Compression:

Stored size: 279 Bytes

Contents

module Dentaku
  class UnboundVariableError < StandardError
    attr_reader :unbound_variables

    def initialize(unbound_variables)
      @unbound_variables = unbound_variables
      super("no value provided for variables: #{ unbound_variables.join(', ') }")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dentaku-2.0.6 lib/dentaku/exceptions.rb
dentaku-2.0.5 lib/dentaku/exceptions.rb
dentaku-2.0.4 lib/dentaku/exceptions.rb