lib/the_help/service.rb in the_help-1.3.1 vs lib/the_help/service.rb in the_help-1.3.2

- old
+ new

@@ -121,13 +121,12 @@ end # Convenience method to instantiate the service and immediately call it # # Any arguments are passed to #initialize - # - # @return [Class] Returns the receiver def call(*args, &block) - new(*args).call(&block) + result = new(*args).call(&block) + return result if block_given? self end # :nodoc: def inherited(other)