Class: ReVIEW::SinglelineContentNode
- 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) ⇒ SinglelineContentNode
constructor
A new instance of SinglelineContentNode.
Methods inherited from Node
#inspect, #to_doc, #to_json, #to_raw, #to_s_by
Constructor Details
#initialize(compiler, position, content) ⇒ SinglelineContentNode
Returns a new instance of SinglelineContentNode.
1099 1100 1101 1102 1103 |
# File 'lib/review/compiler.rb', line 1099 def initialize(compiler, position, content) @compiler = compiler @position = position @content = content end |
Instance Attribute Details
#compiler ⇒ Object (readonly)
Returns the value of attribute compiler.
1104 1105 1106 |
# File 'lib/review/compiler.rb', line 1104 def compiler @compiler end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
1106 1107 1108 |
# File 'lib/review/compiler.rb', line 1106 def content @content end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
1105 1106 1107 |
# File 'lib/review/compiler.rb', line 1105 def position @position end |