lib/nmatrix/rspec.rb in nmatrix-0.1.0.rc5 vs lib/nmatrix/rspec.rb in nmatrix-0.1.0
- old
+ new
@@ -27,11 +27,11 @@
#
require 'rspec'
# Amend RSpec to allow #be_within for matrices.
-module RSpec::Matchers::BuiltIn #:nodoc:
+module RSpec::Matchers::BuiltIn
class BeWithin
def of(expected)
@expected = expected
@unit = ''
@@ -70,6 +70,6 @@
res.is_a?(NMatrix) ? !res.any? { |x| !x } : res
end
end
-end
\ No newline at end of file
+end