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



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

def default
  @default
end

#descObject

Returns the value of attribute desc



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

def desc
  @desc
end

#nameObject

Returns the value of attribute name



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

def name
  @name
end

#typeObject

Returns the value of attribute type



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

def type
  @type
end

#validatorObject

Returns the value of attribute validator



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

def validator
  @validator
end