class TTY::Config::Marshallers::HCLMarshaller
Responsible for marshalling content from and into HCL format
@api public
Public Instance Methods
marshal(object)
click to toggle source
# File lib/tty/config/marshallers/hcl_marshaller.rb, line 18 def marshal(object) Rhcl.dump(object) end
unmarshal(content)
click to toggle source
# File lib/tty/config/marshallers/hcl_marshaller.rb, line 22 def unmarshal(content) Rhcl.parse(content) end