Class: Passpartu::TestUserWithOtherRoleMethod
- Inherits:
-
Object
- Object
- Passpartu::TestUserWithOtherRoleMethod
- Defined in:
- lib/passpartu/test_user.rb
Instance Attribute Summary collapse
-
#other_role_method ⇒ Object
readonly
Returns the value of attribute other_role_method.
Instance Method Summary collapse
-
#initialize(role) ⇒ TestUserWithOtherRoleMethod
constructor
A new instance of TestUserWithOtherRoleMethod.
Constructor Details
#initialize(role) ⇒ TestUserWithOtherRoleMethod
Returns a new instance of TestUserWithOtherRoleMethod.
25 26 27 |
# File 'lib/passpartu/test_user.rb', line 25 def initialize(role) @other_role_method = role end |
Instance Attribute Details
#other_role_method ⇒ Object (readonly)
Returns the value of attribute other_role_method.
23 24 25 |
# File 'lib/passpartu/test_user.rb', line 23 def other_role_method @other_role_method end |