spec/rspec_monkeys.rb in nmatrix-0.0.9 vs spec/rspec_monkeys.rb in nmatrix-0.1.0.rc1

- old
+ new

@@ -1,4 +1,31 @@ +# = NMatrix +# +# A linear algebra library for scientific computation in Ruby. +# NMatrix is part of SciRuby. +# +# NMatrix was originally inspired by and derived from NArray, by +# Masahiro Tanaka: http://narray.rubyforge.org +# +# == Copyright Information +# +# SciRuby is Copyright (c) 2010 - 2014, Ruby Science Foundation +# NMatrix is Copyright (c) 2012 - 2014, John Woods and the Ruby Science Foundation +# +# Please see LICENSE.txt for additional copyright notices. +# +# == Contributing +# +# By contributing source code to SciRuby, you agree to be bound by +# our Contributor Agreement: +# +# * https://github.com/SciRuby/sciruby/wiki/Contributor-Agreement +# +# == rspec_monkeys.rb +# +# A set of monkey patches for RSpec allowing checks of NMatrix types +# + module RSpec::Matchers::BuiltIn class BeWithin def of(expected) @expected = expected \ No newline at end of file