class Cipherpipe::Formatters::HCL

Public Class Methods

read(input) click to toggle source
# File lib/cipherpipe/formatters/hcl.rb, line 2
def self.read(input)
  require "rhcl"
  ::Rhcl.parse input
end
write(input) click to toggle source
# File lib/cipherpipe/formatters/hcl.rb, line 7
def self.write(input)
  require "rhcl"
  ::Rhcl.dump input
end