lib/yard/verifier.rb in yard-0.6.1 vs lib/yard/verifier.rb in yard-0.6.2

- old
+ new

@@ -65,14 +65,16 @@ else super end end - # Tests the expressions on the object + # Tests the expressions on the object. # + # @note If the object is a {CodeObjects::Proxy} the result will always be true. # @param [CodeObjects::Base] object the object to verify # @return [Boolean] the result of the expressions def call(object) + return true if object.is_a?(CodeObjects::Proxy) modify_nilclass @object = object retval = __execute ? true : false unmodify_nilclass retval \ No newline at end of file