Class: ReVIEW::UlistElementNode
- Defined in:
- lib/review/node.rb,
lib/review/compiler.rb
Instance Attribute Summary collapse
-
#compiler ⇒ Object
readonly
Returns the value of attribute compiler.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#level ⇒ Object
Returns the value of attribute level.
-
#position ⇒ Object
readonly
Returns the value of attribute position.
Instance Method Summary collapse
- #concat(elem) ⇒ Object
-
#initialize(compiler, position, level, content) ⇒ UlistElementNode
constructor
A new instance of UlistElementNode.
- #to_doc ⇒ Object
Methods inherited from Node
#inspect, #to_json, #to_raw, #to_s_by
Constructor Details
#initialize(compiler, position, level, content) ⇒ UlistElementNode
Returns a new instance of UlistElementNode.
1129 1130 1131 1132 1133 1134 |
# File 'lib/review/compiler.rb', line 1129 def initialize(compiler, position, level, content) @compiler = compiler @position = position @level = level @content = content end |
Instance Attribute Details
#compiler ⇒ Object (readonly)
Returns the value of attribute compiler.
1135 1136 1137 |
# File 'lib/review/compiler.rb', line 1135 def compiler @compiler end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
1138 1139 1140 |
# File 'lib/review/compiler.rb', line 1138 def content @content end |
#level ⇒ Object
Returns the value of attribute level.
1137 1138 1139 |
# File 'lib/review/compiler.rb', line 1137 def level @level end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
1136 1137 1138 |
# File 'lib/review/compiler.rb', line 1136 def position @position end |