Class: InventoryTemplate

Inherits:
ApplicationRecord show all
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

sync_carrierwave_url

Instance Method Details

#start_time_hourObject



29
30
31
# File 'app/models/inventory_template.rb', line 29

def start_time_hour
  start_time.strftime('%H').to_i
end