class TTY::Config::Marshallers::JavaPropsMarshaller

Responsible for marshalling content from and into Java properties format

@api public

Public Instance Methods

marshal(object) click to toggle source
# File lib/tty/config/marshallers/java_props_marshaller.rb, line 18
def marshal(object)
  JavaProperties.generate(object)
end
unmarshal(content) click to toggle source
# File lib/tty/config/marshallers/java_props_marshaller.rb, line 22
def unmarshal(content)
  JavaProperties.parse(content)
end