lib/assert/context_info.rb in assert-2.17.0 vs lib/assert/context_info.rb in assert-2.18.0
- old
+ new
@@ -1,9 +1,7 @@
module Assert
-
class ContextInfo
-
attr_reader :called_from, :klass, :file
def initialize(klass, called_from = nil, first_caller = nil)
@called_from = called_from || first_caller
@klass = klass
@@ -11,9 +9,7 @@
end
def test_name(name)
[klass.description.to_s, name.to_s].compact.reject(&:empty?).join(" ")
end
-
end
-
end