Class: Giblish::CmdLineDocAttribs

Inherits:
Object
  • Object
show all
Defined in:
lib/giblish/docattr_providers.rb

Instance Method Summary collapse

Constructor Details

#initialize(cmd_opts) ⇒ CmdLineDocAttribs

Returns a new instance of CmdLineDocAttribs.



79
80
81
# File 'lib/giblish/docattr_providers.rb', line 79

def initialize(cmd_opts)
  @cmdline_attrs = cmd_opts.doc_attributes.dup
end

Instance Method Details

#document_attributes(src_node, dst_node, dst_top) ⇒ Object



83
84
85
# File 'lib/giblish/docattr_providers.rb', line 83

def document_attributes(src_node, dst_node, dst_top)
  @cmdline_attrs
end