Class: Sablon::Numbering::Definition

Inherits:
Struct
  • Object
show all
Defined in:
lib/sablon/numbering.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#numidObject

Returns the value of attribute numid

Returns:

  • (Object)

    the current value of numid



6
7
8
# File 'lib/sablon/numbering.rb', line 6

def numid
  @numid
end

#styleObject

Returns the value of attribute style

Returns:

  • (Object)

    the current value of style



6
7
8
# File 'lib/sablon/numbering.rb', line 6

def style
  @style
end

Instance Method Details

#inspectObject



7
8
9
# File 'lib/sablon/numbering.rb', line 7

def inspect
  "#<Numbering #{numid}:#{style}"
end