Class: Factbook::Attributes::Attribute

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

Instance Attribute Summary collapse

Instance Attribute Details

#categoryObject

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



8
9
10
# File 'lib/factbook/attributes.rb', line 8

def category
  @category
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/factbook/attributes.rb', line 8

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



8
9
10
# File 'lib/factbook/attributes.rb', line 8

def path
  @path
end