Class: RD::Reference::RDLabel
Overview
URL
Instance Attribute Summary collapse
-
#element_label ⇒ Object
(also: #to_label)
Returns the value of attribute element_label.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(element_label, filename = nil) ⇒ RDLabel
constructor
A new instance of RDLabel.
- #renew_label ⇒ Object
- #result_of_apply_method_of(visitor, reference, children) ⇒ Object
- #to_reference_content ⇒ Object
Methods inherited from Label
Constructor Details
#initialize(element_label, filename = nil) ⇒ RDLabel
Returns a new instance of RDLabel.
185 186 187 188 |
# File 'lib/rd/inline-element.rb', line 185 def initialize(element_label, filename = nil) @element_label = element_label @filename = filename end |
Instance Attribute Details
#element_label ⇒ Object Also known as: to_label
Returns the value of attribute element_label.
182 183 184 |
# File 'lib/rd/inline-element.rb', line 182 def element_label @element_label end |
#filename ⇒ Object
Returns the value of attribute filename.
183 184 185 |
# File 'lib/rd/inline-element.rb', line 183 def filename @filename end |
Instance Method Details
#renew_label ⇒ Object
198 199 200 |
# File 'lib/rd/inline-element.rb', line 198 def renew_label self end |
#result_of_apply_method_of(visitor, reference, children) ⇒ Object
190 191 192 |
# File 'lib/rd/inline-element.rb', line 190 def result_of_apply_method_of(visitor, reference, children) visitor.apply_to_Reference_with_RDLabel(reference, children) end |
#to_reference_content ⇒ Object
194 195 196 |
# File 'lib/rd/inline-element.rb', line 194 def to_reference_content [] end |