Class: Passpartu::TestPerson

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(role) ⇒ TestPerson

Returns a new instance of TestPerson.



17
18
19
# File 'lib/passpartu/test_user.rb', line 17

def initialize(role)
  @role = role
end

Instance Attribute Details

#roleObject (readonly)

Returns the value of attribute role.



15
16
17
# File 'lib/passpartu/test_user.rb', line 15

def role
  @role
end