Class: KeyValueName::MarshalerBase
- Inherits:
-
Object
- Object
- KeyValueName::MarshalerBase
show all
- Defined in:
- lib/key_value_name/marshalers/base.rb
Overview
A Marshaler handles conversion of typed values to and from strings.
Instance Method Summary
collapse
Constructor Details
Returns a new instance of MarshalerBase.
8
9
|
# File 'lib/key_value_name/marshalers/base.rb', line 8
def initialize(**kwargs)
end
|
Instance Method Details
#matcher ⇒ Object
11
12
13
|
# File 'lib/key_value_name/marshalers/base.rb', line 11
def matcher
raise NotImplementedError
end
|
#read(_string) ⇒ Object
15
16
17
|
# File 'lib/key_value_name/marshalers/base.rb', line 15
def read(_string)
raise NotImplementedError
end
|
#write(_value) ⇒ Object
19
20
21
|
# File 'lib/key_value_name/marshalers/base.rb', line 19
def write(_value)
raise NotImplementedError
end
|