Class Roodi::Core::Error
In: lib/roodi/core/error.rb
Parent: Object

Methods

new   to_s  

Attributes

filename  [R] 
line_number  [R] 
message  [R] 

Public Class methods

[Source]

# File lib/roodi/core/error.rb, line 6
      def initialize(filename, line_number, message)
        @filename = filename
        @line_number = line_number
        @message = message
      end

Public Instance methods

[Source]

# File lib/roodi/core/error.rb, line 12
      def to_s
        "#{@filename}:#{@line_number} - #{@message}"
      end

[Validate]