Module: DocWrapper::Base

Defined in:
lib/doc_wrapper/base.rb

Class Method Summary collapse

Class Method Details

.to_target_doc(src, opts = {}) ⇒ Object



4
5
6
7
# File 'lib/doc_wrapper/base.rb', line 4

def self.to_target_doc src , opts={}
  wrapper = wrapper_target src, opts
  wrapper.to_target_doc src
end

.wrapper_target(src, opts = {}) ⇒ Object



9
10
11
12
13
# File 'lib/doc_wrapper/base.rb', line 9

def self.wrapper_target src, opts={}
  doc_origem = infer_doc_origem src, opts
  klass_str = klass_name doc_origem, opts
  klass_str.constantize
end