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

Returns:

  • (Object)

    the current value of category



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

def category
  @category
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#numObject

Returns the value of attribute num

Returns:

  • (Object)

    the current value of num



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

def num
  @num
end