Class: Factbook::Comparisons::Comparison

Inherits:
Struct
  • Object
show all
Defined in:
lib/factbook/comparisons.rb

Overview

todo: use no or id or something - why? why not?

Instance Attribute Summary collapse

Instance Attribute Details

#categoryObject

Returns the value of attribute category



7
8
9
# File 'lib/factbook/comparisons.rb', line 7

def category
  @category
end

#nameObject

Returns the value of attribute name



7
8
9
# File 'lib/factbook/comparisons.rb', line 7

def name
  @name
end

#numObject

Returns the value of attribute num



7
8
9
# File 'lib/factbook/comparisons.rb', line 7

def num
  @num
end