Class: Logline::Script::Paragraph
- Inherits:
-
Object
- Object
- Logline::Script::Paragraph
- Defined in:
- lib/logline.rb
Direct Known Subclasses
Action, CharacterName, Dialogue, Heading, Transition, Unknown
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(c) ⇒ Paragraph
constructor
A new instance of Paragraph.
- #to_s ⇒ Object
- #to_scrippet ⇒ Object
Constructor Details
#initialize(c) ⇒ Paragraph
19 20 21 |
# File 'lib/logline.rb', line 19 def initialize(c) @content = c end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
17 18 19 |
# File 'lib/logline.rb', line 17 def content @content end |
Instance Method Details
#to_s ⇒ Object
23 24 25 |
# File 'lib/logline.rb', line 23 def to_s content end |
#to_scrippet ⇒ Object
27 28 29 |
# File 'lib/logline.rb', line 27 def to_scrippet content end |