Class: InventoryTemplate
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- InventoryTemplate
- Defined in:
- app/models/inventory_template.rb
Overview
typed: ignore encoding: utf-8 frozen_string_literal: true
Instance Method Summary collapse
Methods inherited from ApplicationRecord
Instance Method Details
#start_time_hour ⇒ Object
29 30 31 |
# File 'app/models/inventory_template.rb', line 29 def start_time_hour start_time.strftime('%H').to_i end |