Class: ReVIEW::Compiler::InlineSyntaxElement
- Defined in:
- lib/review/compiler.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ InlineSyntaxElement
constructor
A new instance of InlineSyntaxElement.
Constructor Details
#initialize(name) ⇒ InlineSyntaxElement
Returns a new instance of InlineSyntaxElement.
114 115 116 |
# File 'lib/review/compiler.rb', line 114 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
118 119 120 |
# File 'lib/review/compiler.rb', line 118 def name @name end |