Class: Kramdown::Options::Definition
- Inherits:
-
Struct
- Object
- Struct
- Kramdown::Options::Definition
- Defined in:
- lib/kramdown/options.rb
Overview
Struct class for storing the definition of an option.
Instance Attribute Summary collapse
-
#default ⇒ Object
Returns the value of attribute default.
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#validator ⇒ Object
Returns the value of attribute validator.
Instance Attribute Details
#default ⇒ Object
Returns the value of attribute default
47 48 49 |
# File 'lib/kramdown/options.rb', line 47 def default @default end |
#desc ⇒ Object
Returns the value of attribute desc
47 48 49 |
# File 'lib/kramdown/options.rb', line 47 def desc @desc end |
#name ⇒ Object
Returns the value of attribute name
47 48 49 |
# File 'lib/kramdown/options.rb', line 47 def name @name end |
#type ⇒ Object
Returns the value of attribute type
47 48 49 |
# File 'lib/kramdown/options.rb', line 47 def type @type end |
#validator ⇒ Object
Returns the value of attribute validator
47 48 49 |
# File 'lib/kramdown/options.rb', line 47 def validator @validator end |