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, source_path: nil) ⇒ Fill
constructor
A new instance of Fill.
Constructor Details
#initialize(text, source_path: nil) ⇒ Fill
Returns a new instance of Fill.
49 50 51 52 |
# File 'lib/script2md.rb', line 49 def initialize(text, source_path: nil) @text = text @source_path = source_path end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
54 55 56 |
# File 'lib/script2md.rb', line 54 def text @text end |
Instance Method Details
#convert ⇒ Object
56 57 58 59 |
# File 'lib/script2md.rb', line 56 def convert fill_command_output! self end |