Sha256: fe40f46b6ac5bad2dc1440bb03dfa741bdaf4bd1bce54c6e7904830cf92e854b
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
require 'version' # `At` is a small library provides an `at` method for all Objects which allows you to access instance variables # on an object as if they were accessors for testing purposes, usually within test setups and teardowns module At is_versioned require 'at/instance_variable_delegator' # @return [InstanceVariableDelegator] The memoized InstanceVariableDelegator proxy instance for this Object instance def _at @_at ||= InstanceVariableDelegator.new(self) end alias_method :at, :_at end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
at-0.2.0 | lib/at.rb |