Sha256: 9fffd7fb940ba290082a489b5209aa2082dbae7ab2ba3a24d431b94dd2fc8b16
Contents?: true
Size: 449 Bytes
Versions: 11
Compression:
Stored size: 449 Bytes
Contents
module Giblish class AdocSrcItf def adoc_source(src_node, dst_node, dst_top) raise NotImplementedError end end class SrcFromFile < AdocSrcItf def adoc_source(src_node, dst_node, dst_top) File.read(src_node.pathname) end end class SrcFromString < AdocSrcItf def initialize(src_str) @adoc_source = src_str end def adoc_source(src_node, dst_node, dst_top) @adoc_source end end end
Version data entries
11 entries across 11 versions & 1 rubygems