Class: Kramdown::Options::Definition

Inherits:
Struct
  • Object
show all
Defined in:
lib/kramdown/options.rb

Overview

Struct class for storing the definition of an option.

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



36
37
38
# File 'lib/kramdown/options.rb', line 36

def default
  @default
end

#descObject

Returns the value of attribute desc

Returns:

  • (Object)

    the current value of desc



36
37
38
# File 'lib/kramdown/options.rb', line 36

def desc
  @desc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



36
37
38
# File 'lib/kramdown/options.rb', line 36

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



36
37
38
# File 'lib/kramdown/options.rb', line 36

def type
  @type
end

#validatorObject

Returns the value of attribute validator

Returns:

  • (Object)

    the current value of validator



36
37
38
# File 'lib/kramdown/options.rb', line 36

def validator
  @validator
end