Class: Giblish::SrcFromString
- Inherits:
-
AdocSrcItf
- Object
- AdocSrcItf
- Giblish::SrcFromString
- Defined in:
- lib/giblish/adocsrc_providers.rb
Instance Method Summary collapse
- #adoc_source(src_node, dst_node, dst_top) ⇒ Object
-
#initialize(src_str) ⇒ SrcFromString
constructor
A new instance of SrcFromString.
Constructor Details
#initialize(src_str) ⇒ SrcFromString
Returns a new instance of SrcFromString.
15 16 17 |
# File 'lib/giblish/adocsrc_providers.rb', line 15 def initialize(src_str) @adoc_source = src_str end |
Instance Method Details
#adoc_source(src_node, dst_node, dst_top) ⇒ Object
19 20 21 |
# File 'lib/giblish/adocsrc_providers.rb', line 19 def adoc_source(src_node, dst_node, dst_top) @adoc_source end |