Class: Resume::Sample
- Inherits:
-
Object
- Object
- Resume::Sample
- Defined in:
- lib/resume.rb
Overview
A sample of work, avaiable via the internet
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
68 69 70 |
# File 'lib/resume.rb', line 68 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
69 70 71 |
# File 'lib/resume.rb', line 69 def url @url end |
Class Method Details
Instance Method Details
#<=>(other_sample) ⇒ Object
78 79 80 81 |
# File 'lib/resume.rb', line 78 def <=>(other_sample) return 1 if !other_sample @name <=> other_sample.name end |