Class: Giblish::CmdLineDocAttribs
- Inherits:
-
Object
- Object
- Giblish::CmdLineDocAttribs
- Defined in:
- lib/giblish/docattr_providers.rb
Instance Method Summary collapse
- #document_attributes(src_node, dst_node, dst_top) ⇒ Object
-
#initialize(cmd_opts) ⇒ CmdLineDocAttribs
constructor
A new instance of CmdLineDocAttribs.
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 |