summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/ext/psych/lib/psych/syntax_error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/ext/psych/lib/psych/syntax_error.rb')
-rw-r--r--ruby_1_9_3/ext/psych/lib/psych/syntax_error.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/ruby_1_9_3/ext/psych/lib/psych/syntax_error.rb b/ruby_1_9_3/ext/psych/lib/psych/syntax_error.rb
deleted file mode 100644
index f79743dba4..0000000000
--- a/ruby_1_9_3/ext/psych/lib/psych/syntax_error.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-module Psych
- class SyntaxError < ::SyntaxError
- attr_reader :file, :line, :column, :offset, :problem, :context
-
- def initialize file, line, col, offset, problem, context
- err = [problem, context].compact.join ' '
- filename = file || '<unknown>'
- message = "(%s): %s at line %d column %d" % [filename, err, line, col]
-
- @file = file
- @line = line
- @column = col
- @offset = offset
- @problem = problem
- @context = context
- super(message)
- end
- end
-end