Class: Rubolite::User
- Inherits:
-
Object
- Object
- Rubolite::User
- Defined in:
- lib/rubolite/user.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#permissions ⇒ Object
Returns the value of attribute permissions.
Instance Method Summary collapse
-
#initialize(name = nil, permissions = nil) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(name = nil, permissions = nil) ⇒ User
Returns a new instance of User.
5 6 7 8 |
# File 'lib/rubolite/user.rb', line 5 def initialize(name=nil, =nil) self.name = name self. = end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/rubolite/user.rb', line 3 def name @name end |
#permissions ⇒ Object
Returns the value of attribute permissions.
3 4 5 |
# File 'lib/rubolite/user.rb', line 3 def @permissions end |