lib/remarkable/base.rb in remarkable-3.0.1 vs lib/remarkable/base.rb in remarkable-3.0.2

- old
+ new

@@ -1,10 +1,10 @@ module Remarkable class Base include Remarkable::Messages extend Remarkable::DSL - + # Optional to provide spec binding to matchers. def spec(binding) @spec = binding self end @@ -22,10 +22,10 @@ def subject_name nil unless @subject subject_class.respond_to?(:human_name) ? subject_class.human_name : subject_class.name end - # Iterates over the collection given yielding the block and return false + # Iterates over the collection given yielding the block and return false # if any of them also returns false. def assert_matcher_for(collection) #:nodoc: collection.each do |item| return false unless yield(item) end