Class: MiddlemanToc::Tag::Attr

Inherits:
Struct
  • Object
show all
Defined in:
lib/middleman_toc/tag.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



3
4
5
# File 'lib/middleman_toc/tag.rb', line 3

def key
  @key
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



3
4
5
# File 'lib/middleman_toc/tag.rb', line 3

def value
  @value
end