Class: MarkdownIt::RulesCore::StateCore
- Inherits:
-
Object
- Object
- MarkdownIt::RulesCore::StateCore
- Defined in:
- lib/motion-markdown-it/rules_core/state_core.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
Returns the value of attribute env.
-
#inlineMode ⇒ Object
Returns the value of attribute inlineMode.
-
#md ⇒ Object
Returns the value of attribute md.
-
#src ⇒ Object
Returns the value of attribute src.
-
#tokens ⇒ Object
Returns the value of attribute tokens.
Instance Method Summary collapse
-
#initialize(src, md, env) ⇒ StateCore
constructor
——————————————————————————.
Constructor Details
#initialize(src, md, env) ⇒ StateCore
10 11 12 13 14 15 16 |
# File 'lib/motion-markdown-it/rules_core/state_core.rb', line 10 def initialize(src, md, env) @src = src @env = env @tokens = [] @inlineMode = false @md = md # link to parser instance end |
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
7 8 9 |
# File 'lib/motion-markdown-it/rules_core/state_core.rb', line 7 def env @env end |
#inlineMode ⇒ Object
Returns the value of attribute inlineMode.
7 8 9 |
# File 'lib/motion-markdown-it/rules_core/state_core.rb', line 7 def inlineMode @inlineMode end |
#md ⇒ Object
Returns the value of attribute md.
7 8 9 |
# File 'lib/motion-markdown-it/rules_core/state_core.rb', line 7 def md @md end |
#src ⇒ Object
Returns the value of attribute src.
7 8 9 |
# File 'lib/motion-markdown-it/rules_core/state_core.rb', line 7 def src @src end |
#tokens ⇒ Object
Returns the value of attribute tokens.
7 8 9 |
# File 'lib/motion-markdown-it/rules_core/state_core.rb', line 7 def tokens @tokens end |