Class: Oxidized::Output
- Inherits:
-
Object
- Object
- Oxidized::Output
- Defined in:
- lib/oxidized/output/output.rb
Direct Known Subclasses
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 |