lib/eco/language/models/parser_serializer.rb in eco-helpers-2.5.8 vs lib/eco/language/models/parser_serializer.rb in eco-helpers-2.5.9
- old
+ new
@@ -4,10 +4,10 @@
# Basic class to define a parser/serializing framework
# @attr_reader attr [String, Symbol] the attribute this parser/serializer is linked to.
class ParserSerializer
attr_reader :attr
- # Parser/seralizer.
+ # Parser/serializer.
# @param attr [String, Symbol] name of the parsed/serialized.
# @param dependencies [Hash] provisioning of _**default dependencies**_ that will be required when calling back to the
# parsing or serializing functions.
def initialize(attr, dependencies: {})
@attr = attr