Class: ReVIEW::BracketArgNode
- 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) ⇒ BracketArgNode
constructor
A new instance of BracketArgNode.
Methods inherited from Node
#inspect, #to_doc, #to_json, #to_raw, #to_s_by
Constructor Details
#initialize(compiler, position, content) ⇒ BracketArgNode
Returns a new instance of BracketArgNode.
903 904 905 906 907 |
# File 'lib/review/compiler.rb', line 903 def initialize(compiler, position, content) @compiler = compiler @position = position @content = content end |
Instance Attribute Details
#compiler ⇒ Object (readonly)
Returns the value of attribute compiler.
908 909 910 |
# File 'lib/review/compiler.rb', line 908 def compiler @compiler end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
910 911 912 |
# File 'lib/review/compiler.rb', line 910 def content @content end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
909 910 911 |
# File 'lib/review/compiler.rb', line 909 def position @position end |