Sha256: 149eb36f3991e1bf91faccaee03b295c7d3a7953a2397648ff1779fd51ed17fe

Contents?: true

Size: 198 Bytes

Versions: 11

Compression:

Stored size: 198 Bytes

Contents

module FastHaml
  class SyntaxError < StandardError
    attr_reader :lineno

    def initialize(message, lineno)
      super("#{message} at line #{lineno}")
      @lineno = lineno
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fast_haml-0.1.10 lib/fast_haml/syntax_error.rb
fast_haml-0.1.9 lib/fast_haml/syntax_error.rb
fast_haml-0.1.8 lib/fast_haml/syntax_error.rb
fast_haml-0.1.7 lib/fast_haml/syntax_error.rb
fast_haml-0.1.6 lib/fast_haml/syntax_error.rb
fast_haml-0.1.5 lib/fast_haml/syntax_error.rb
fast_haml-0.1.4 lib/fast_haml/syntax_error.rb
fast_haml-0.1.3 lib/fast_haml/syntax_error.rb
fast_haml-0.1.2 lib/fast_haml/syntax_error.rb
fast_haml-0.1.1 lib/fast_haml/syntax_error.rb
fast_haml-0.1.0 lib/fast_haml/syntax_error.rb