Class: Giblish::SrcFromString

Inherits:
AdocSrcItf show all
Defined in:
lib/giblish/adocsrc_providers.rb

Instance Method Summary collapse

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