Class: ReVIEW::InlineElementContentNode
- 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.
-
#position ⇒ Object
readonly
Returns the value of attribute position.
Instance Method Summary collapse
-
#initialize(compiler, position, content) ⇒ InlineElementContentNode
constructor
A new instance of InlineElementContentNode.
Methods inherited from Node
#inspect, #to_doc, #to_json, #to_raw, #to_s_by
Constructor Details
#initialize(compiler, position, content) ⇒ InlineElementContentNode
Returns a new instance of InlineElementContentNode.
1025 1026 1027 1028 1029 |
# File 'lib/review/compiler.rb', line 1025 def initialize(compiler, position, content) @compiler = compiler @position = position @content = content end |
Instance Attribute Details
#compiler ⇒ Object (readonly)
Returns the value of attribute compiler.
1030 1031 1032 |
# File 'lib/review/compiler.rb', line 1030 def compiler @compiler end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
1032 1033 1034 |
# File 'lib/review/compiler.rb', line 1032 def content @content end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
1031 1032 1033 |
# File 'lib/review/compiler.rb', line 1031 def position @position end |