Class: Factbook::Comparisons::Comparison
- Inherits:
-
Struct
- Object
- Struct
- Factbook::Comparisons::Comparison
- Defined in:
- lib/factbook-readers/comparisons.rb
Overview
todo: use no or id or something - why? why not?
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#name ⇒ Object
Returns the value of attribute name.
-
#num ⇒ Object
Returns the value of attribute num.
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
7 8 9 |
# File 'lib/factbook-readers/comparisons.rb', line 7 def category @category end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/factbook-readers/comparisons.rb', line 7 def name @name end |
#num ⇒ Object
Returns the value of attribute num
7 8 9 |
# File 'lib/factbook-readers/comparisons.rb', line 7 def num @num end |