Class Object
In: lib/merb-core/test/test_ext/object.rb
Parent: Object

Methods

assigns  

Public Instance methods

Parameters

attr<~to_s>:The name of the instance variable to get.

Returns

Object:The instance variable @attr for this object.

Examples

  # In a spec
  @my_obj.assigns(:my_value).should == @my_value

[Validate]