Sha256: 39bd8400ea3cda812956c1feff073f55520b38866577bdbf602dfb60a2e07515
Contents?: true
Size: 333 Bytes
Versions: 2
Compression:
Stored size: 333 Bytes
Contents
module StaticMatic class Error < StandardError attr_reader :line attr_reader :filename def initialize(lineno, filename, message) @line = lineno @filename = filename @message = message end def message "#{@filename}, line #{@line}: #{@message}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
staticmatic3-2.1.10 | lib/staticmatic/error.rb |
staticmatic3-2.1.9 | lib/staticmatic/error.rb |