Class: Passpartu::Person
- Inherits:
-
Object
- Object
- Passpartu::Person
- Defined in:
- lib/passpartu/user.rb
Instance Attribute Summary collapse
-
#role ⇒ Object
readonly
Returns the value of attribute role.
Instance Method Summary collapse
-
#initialize(role) ⇒ Person
constructor
A new instance of Person.
Constructor Details
#initialize(role) ⇒ Person
Returns a new instance of Person.
15 16 17 |
# File 'lib/passpartu/user.rb', line 15 def initialize(role) @role = role end |
Instance Attribute Details
#role ⇒ Object (readonly)
Returns the value of attribute role.
13 14 15 |
# File 'lib/passpartu/user.rb', line 13 def role @role end |