Sha256: 88110525dd813db70c412b730e72b7d9d9d34964cd209ad5f68da6e0e07b1a8c

Contents?: true

Size: 359 Bytes

Versions: 27

Compression:

Stored size: 359 Bytes

Contents

module Roodi
  module Core
    class Error
      attr_reader :filename, :line_number, :message
      
      def initialize(filename, line_number, message)
        @filename = filename
        @line_number = line_number
        @message = message
      end
      
      def to_s
        "#{@filename}:#{@line_number} - #{@message}"
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
roodi-5.0.0 lib/roodi/core/error.rb
roodi-4.1.1 lib/roodi/core/error.rb
roodi-4.1.0 lib/roodi/core/error.rb
threedaymonk-roodi-1.3.8 lib/roodi/core/error.rb
roodi-4.0.0 lib/roodi/core/error.rb
roodi-3.3.1 lib/roodi/core/error.rb
roodi-3.3.0 lib/roodi/core/error.rb
roodi-3.2.0 lib/roodi/core/error.rb
roodi-3.1.1 lib/roodi/core/error.rb
roodi-3.1.0 lib/roodi/core/error.rb
roodi-3.0.1 lib/roodi/core/error.rb
roodi-3.0.0 lib/roodi/core/error.rb
metric_fu-roodi-2.2.2 lib/roodi/core/error.rb
metric_fu-roodi-2.2.1 lib/roodi/core/error.rb
roodi-2.2.0 lib/roodi/core/error.rb
metric_fu-roodi-2.2.0 lib/roodi/core/error.rb
roodi1.9-2.0.1 lib/roodi/core/error.rb
roodi-2.1.0 lib/roodi/core/error.rb
roodi-2.0.1 lib/roodi/core/error.rb
roodi-2.0.0 lib/roodi/core/error.rb