Class: Csv::Query::CLI::InMemoryAR::Record
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Csv::Query::CLI::InMemoryAR::Record
- Defined in:
- lib/csv/query.rb
Overview
temporary AR obj
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
25 26 27 28 29 |
# File 'lib/csv/query.rb', line 25 def to_h h = self.attributes h.delete("id") h end |