Class Test::Rails::IvarProxy
In: lib/test/rails/ivar_proxy.rb
Parent: Object
FunctionalTestCase ViewTestCase ControllerTestCase HelperTestCase TestCase TestCase ActionView::Helpers::ActiveRecordHelper ActionView::Helpers::TagHelper ActionView::Helpers::FormTagHelper ActionView::Helpers::FormOptionsHelper ActionView::Helpers::FormHelper ActionView::Helpers::UrlHelper ActionView::Helpers::AssetTagHelper ActionView::Helpers::PrototypeHelper ActionView::Helpers::TextHelper IvarProxy Rails Assertions Unit Test dot/f_38.png

A wrapper that allows instance variables to be manipulated using +[]+ and +[]=+

Methods

[]   []=   new  

Public Class methods

Wraps object allowing its instance variables to be manipulated.

Public Instance methods

Retrieves ivar from the wrapped object.

Sets ivar to val on the wrapped object.

[Validate]