Class: EBPS::Text::LinkedParagraph

Inherits:
Paragraph
  • Object
show all
Defined in:
lib/ebps/text/paragraph.rb

Instance Attribute Summary collapse

Attributes inherited from Paragraph

#align, #formats, #text

Instance Method Summary collapse

Methods inherited from Paragraph

#<<, #method_missing, #set_format, #to_s

Constructor Details

#initialize(url, str = '') ⇒ LinkedParagraph

Returns a new instance of LinkedParagraph.



60
61
62
63
# File 'lib/ebps/text/paragraph.rb', line 60

def initialize(url, str='')
  @url = url
  super str
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class EBPS::Text::Paragraph

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



59
60
61
# File 'lib/ebps/text/paragraph.rb', line 59

def url
  @url
end