Class: Oxidized::Output

Inherits:
Object
  • Object
show all
Defined in:
lib/oxidized/output/output.rb

Direct Known Subclasses

Git, GitCrypt, Http, OxidizedFile

Defined Under Namespace

Classes: NoConfig

Instance Method Summary collapse

Instance Method Details

#cfg_to_str(cfg) ⇒ Object



5
6
7
# File 'lib/oxidized/output/output.rb', line 5

def cfg_to_str(cfg)
  cfg.select { |h| h[:type] == 'cfg' }.map { |h| h[:data] }.join
end