Class: EBPS::Text::LinkedParagraph
- Defined in:
- lib/ebps/text/paragraph.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Attributes inherited from Paragraph
Instance Method Summary collapse
-
#initialize(url, str = '') ⇒ LinkedParagraph
constructor
A new instance of LinkedParagraph.
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
#url ⇒ Object (readonly)
Returns the value of attribute url.
59 60 61 |
# File 'lib/ebps/text/paragraph.rb', line 59 def url @url end |