Class: Script2md::Fill
- Inherits:
-
Object
- Object
- Script2md::Fill
- Defined in:
- lib/script2md.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
- #convert ⇒ Object
-
#initialize(text, script: nil) ⇒ Fill
constructor
A new instance of Fill.
Constructor Details
#initialize(text, script: nil) ⇒ Fill
52 53 54 55 |
# File 'lib/script2md.rb', line 52 def initialize(text, script: nil) @text = text @script = script end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
57 58 59 |
# File 'lib/script2md.rb', line 57 def text @text end |
Instance Method Details
#convert ⇒ Object
59 60 61 62 |
# File 'lib/script2md.rb', line 59 def convert fill_command_output! self end |