module TTY::Config::Marshaller
Public Class Methods
included(base)
click to toggle source
@api private
Calls superclass method
# File lib/tty/config/marshaller.rb, line 9 def self.included(base) super # Help marshallers to declare their gem dependency base.extend DependencyLoader # Help marshallers to declare their extension matching base.extend ExtensionsStore end
Public Instance Methods
marshal(_object, _options = {})
click to toggle source
Marshal object into a given format
@param [Object] _object
@api public
# File lib/tty/config/marshaller.rb, line 52 def marshal(_object, _options = {}) raise NotImplementedError end
unmarshal(_content, _options = {})
click to toggle source
Unmarshal content into a hash object
@param [String] _content
@api public
# File lib/tty/config/marshaller.rb, line 61 def unmarshal(_content, _options = {}) raise NotImplementedError end