Class: ReVIEW::ComplexInlineElementContentNode
- 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) ⇒ ComplexInlineElementContentNode
constructor
A new instance of ComplexInlineElementContentNode.
Methods inherited from Node
#inspect, #to_doc, #to_json, #to_raw, #to_s_by
Constructor Details
#initialize(compiler, position, content) ⇒ ComplexInlineElementContentNode
Returns a new instance of ComplexInlineElementContentNode.
955 956 957 958 959 |
# File 'lib/review/compiler.rb', line 955 def initialize(compiler, position, content) @compiler = compiler @position = position @content = content end |
Instance Attribute Details
#compiler ⇒ Object (readonly)
Returns the value of attribute compiler.
960 961 962 |
# File 'lib/review/compiler.rb', line 960 def compiler @compiler end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
962 963 964 |
# File 'lib/review/compiler.rb', line 962 def content @content end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
961 962 963 |
# File 'lib/review/compiler.rb', line 961 def position @position end |