Module: ROM::Plugins::Command::Timestamps::InstanceMethods
- Defined in:
- core/lib/rom/plugins/command/timestamps.rb
Instance Method Summary collapse
- #datestamp_columns ⇒ Object private
-
#set_timestamps(tuples) ⇒ Array<Hash>, Hash
private
Set the timestamp attributes on the given tuples.
- #timestamp_columns ⇒ Object private
Instance Method Details
#datestamp_columns ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
61 62 63 |
# File 'core/lib/rom/plugins/command/timestamps.rb', line 61 def datestamp_columns self.class.datestamp_columns end |
#set_timestamps(tuples) ⇒ Array<Hash>, Hash
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Set the timestamp attributes on the given tuples
72 73 74 75 76 |
# File 'core/lib/rom/plugins/command/timestamps.rb', line 72 def (tuples, *) = map_input_tuples(tuples) { |t| .merge(t) } end |
#timestamp_columns ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
56 57 58 |
# File 'core/lib/rom/plugins/command/timestamps.rb', line 56 def self.class. end |