Class: User
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- User
- Defined in:
- app/models/user.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#login ⇒ Object
Returns the value of attribute login.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'app/models/user.rb', line 3 def id @id end |
#login ⇒ Object
Returns the value of attribute login.
3 4 5 |
# File 'app/models/user.rb', line 3 def login @login end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'app/models/user.rb', line 3 def name @name end |