Class: Factbook::Comparisons::Comparison

Inherits:
Struct
  • Object
show all
Defined in:
lib/factbook-fields/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



6
7
8
# File 'lib/factbook-fields/comparisons.rb', line 6

def category
  @category
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/factbook-fields/comparisons.rb', line 6

def name
  @name
end

#numObject

Returns the value of attribute num

Returns:

  • (Object)

    the current value of num



6
7
8
# File 'lib/factbook-fields/comparisons.rb', line 6

def num
  @num
end