Class: People
- Inherits:
-
Object
- Object
- People
- Defined in:
- lib/zhSieve/people.rb
Instance Attribute Summary collapse
-
#avatar ⇒ Object
Returns the value of attribute avatar.
-
#bio ⇒ Object
Returns the value of attribute bio.
-
#business ⇒ Object
Returns the value of attribute business.
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#education ⇒ Object
Returns the value of attribute education.
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ People
constructor
A new instance of People.
Constructor Details
#initialize ⇒ People
Returns a new instance of People.
4 5 6 7 8 9 10 11 12 |
# File 'lib/zhSieve/people.rb', line 4 def initialize @name = 'NA' @avatar = 'NA' @location = 'NA' @business = 'NA' @education = 'NA' @detail = 'NA' @bio = 'NA' end |
Instance Attribute Details
#avatar ⇒ Object
Returns the value of attribute avatar.
2 3 4 |
# File 'lib/zhSieve/people.rb', line 2 def avatar @avatar end |
#bio ⇒ Object
Returns the value of attribute bio.
2 3 4 |
# File 'lib/zhSieve/people.rb', line 2 def bio @bio end |
#business ⇒ Object
Returns the value of attribute business.
2 3 4 |
# File 'lib/zhSieve/people.rb', line 2 def business @business end |
#detail ⇒ Object
Returns the value of attribute detail.
2 3 4 |
# File 'lib/zhSieve/people.rb', line 2 def detail @detail end |
#education ⇒ Object
Returns the value of attribute education.
2 3 4 |
# File 'lib/zhSieve/people.rb', line 2 def education @education end |
#location ⇒ Object
Returns the value of attribute location.
2 3 4 |
# File 'lib/zhSieve/people.rb', line 2 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/zhSieve/people.rb', line 2 def name @name end |