lib/assertion/guard.rb in assertion-0.2.3 vs lib/assertion/guard.rb in assertion-0.2.4
- old
+ new
@@ -33,9 +33,15 @@
class Guard
extend DSL::Attribute
extend DSL::Caller
+ # @!attribute [r] object
+ #
+ # @return [Object] The object to be guarded
+ #
+ attr_reader :object
+
# @!scope class
# @!method new(object)
# Creates the guard instance for the provided object
#
# @param [Object] object