class RD::Reference::URL

Attributes

url[RW]

Public Class Methods

new(url_str) click to toggle source
# File lib/rd/inline-element.rb, line 160
def initialize(url_str)
  @url = url_str
end

Public Instance Methods

renew_label() click to toggle source
# File lib/rd/inline-element.rb, line 176
def renew_label
  self
end
result_of_apply_method_of(visitor, reference, children) click to toggle source
# File lib/rd/inline-element.rb, line 168
def result_of_apply_method_of(visitor, reference, children)
  visitor.apply_to_Reference_with_URL(reference, children)
end
to_label() click to toggle source
# File lib/rd/inline-element.rb, line 164
def to_label
  ""
end
to_reference_content() click to toggle source
# File lib/rd/inline-element.rb, line 172
def to_reference_content
  [StringElement.new("<URL:#{self.url}>")]
end