Sha256: 4997e927063ba4640a9a3d0f22e466c142297df53e9d2c3b8aae3965552ffec5
Contents?: true
Size: 600 Bytes
Versions: 1
Compression:
Stored size: 600 Bytes
Contents
module Hieracles module Formats # format mostly useful for re-integration in param files class Yaml < Hieracles::Format def info(_) @node.info.to_yaml end def files(_) @node.files.to_yaml end def paths(_) @node.paths.to_yaml end def modules(_) @node.modules.to_yaml end def params(args) @node.params_tree(true).to_yaml end def allparams(args) @node.params_tree(false).to_yaml end def modules(args) @node.modules.to_yaml end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hieracles-0.0.1 | lib/hieracles/formats/yaml.rb |