Module: Relaton::Cli
- Defined in:
- lib/relaton/cli.rb,
lib/relaton/cli/command.rb,
lib/relaton/cli/version.rb,
lib/relaton/cli/relaton_file.rb,
lib/relaton/cli/xml_convertor.rb,
lib/relaton/cli/base_convertor.rb,
lib/relaton/cli/yaml_convertor.rb,
lib/relaton/cli/yaml_convertor_new.rb,
lib/relaton/cli/xml_to_html_renderer.rb
Defined Under Namespace
Classes: BaseConvertor, Command, RelatonFile, XMLConvertor, XmlToHtmlRenderer, YAMLConvertor, YAMLConvertorNew
Constant Summary collapse
- VERSION =
"0.3.0".freeze
Class Method Summary collapse
Class Method Details
.relaton ⇒ Object
Relaton
Based on current setup, we need to initiate a Db instance to register all of it’s supported processor backends. To make it easier we have added it as a class method so we can use this whenever necessary.
19 20 21 |
# File 'lib/relaton/cli.rb', line 19 def self.relaton @relaton ||= Relaton::Db.new("#{Dir.home}/.relaton/cache", nil) end |