Class: Reading::Row::AuthorAttribute
- Defined in:
- lib/reading/attribute/all_attributes.rb
Instance Method Summary collapse
Methods inherited from Attribute
Constructor Details
This class inherits a constructor from Reading::Row::Attribute
Instance Method Details
#parse ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/reading/attribute/all_attributes.rb', line 27 def parse item_head .remove(/\A#{config.deep_fetch(:csv, :regex, :formats)}/) .match(/.+(?=#{config.deep_fetch(:csv, :short_separator)})/) &.to_s &.strip end |