Class: Passpartu::TestUserWithOtherRoleMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/passpartu/test_user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_methodObject (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