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



47
48
49
# File 'lib/kramdown/options.rb', line 47

def default
  @default
end

#descObject

Returns the value of attribute desc

Returns:

  • (Object)

    the current value of desc



47
48
49
# File 'lib/kramdown/options.rb', line 47

def desc
  @desc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



47
48
49
# File 'lib/kramdown/options.rb', line 47

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



47
48
49
# File 'lib/kramdown/options.rb', line 47

def type
  @type
end

#validatorObject

Returns the value of attribute validator

Returns:

  • (Object)

    the current value of validator



47
48
49
# File 'lib/kramdown/options.rb', line 47

def validator
  @validator
end