Sha256: 14aa138b594da4531c27d1818ea34d71e1a3edb7f361a9d83712fae15bc8f7c0
Contents?: true
Size: 321 Bytes
Versions: 1
Compression:
Stored size: 321 Bytes
Contents
module FormatParser class Text include FormatParser::AttributesJSON NATURE = :text attr_accessor :format # Only permits assignments via defined accessors def initialize(**attributes) attributes.map { |(k, v)| public_send("#{k}=", v) } end def nature NATURE end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
format_parser-0.26.0 | lib/text.rb |