Class: Knapsack::Config::Tracker
- Inherits:
-
Object
- Object
- Knapsack::Config::Tracker
- Defined in:
- lib/knapsack/config/tracker.rb
Class Method Summary collapse
Class Method Details
.enable_time_offset_warning ⇒ Object
5 6 7 |
# File 'lib/knapsack/config/tracker.rb', line 5 def enable_time_offset_warning true end |
.generate_report ⇒ Object
13 14 15 |
# File 'lib/knapsack/config/tracker.rb', line 13 def generate_report !!(ENV['KNAPSACK_GENERATE_REPORT'] =~ /\Atrue|0\z/i) end |
.time_offset_in_seconds ⇒ Object
9 10 11 |
# File 'lib/knapsack/config/tracker.rb', line 9 def time_offset_in_seconds 30 end |