lib/surrealist/value_assigner.rb
# Run block with klass in skip set
#
# @param [Class] klass of current instance.
#
# @return [Object] block result
Run block with klass in skip set
Run block with klass in skip set
def with_skip_set(klass)
        return yield if @skip_set.include?(klass)
        @skip_set.add(klass)
        result = yield
        @skip_set.delete(klass)
        result
      end
def with_skip_set ( klass ) return yield if @skip_set . include? ( klass ) @skip_set . add ( klass ) result = yield @skip_set . delete ( klass ) result end
Run block with klass in skip set
Run block with klass in skip set
None
Object
klass
<not_specific>
<not_specific>
klass of current instance.
klass of current instance .