lib/assertion/guard.rb in assertion-0.2.0 vs lib/assertion/guard.rb in assertion-0.2.1

- old
+ new

@@ -30,16 +30,11 @@ # AdultOnly[john] # # => #<User @name="John", @age=59> # class Guard - extend GuardDSL - - # @!attribute [r] object - # - # @return [Object] The object whose state should be tested - # - attr_reader :object + extend DSL::Attribute + extend DSL::Caller # @!scope class # @!method new(object) # Creates the guard instance for the provided object #