Class: Knapsack::Config::Tracker

Inherits:
Object
  • Object
show all
Defined in:
lib/knapsack/config/tracker.rb

Class Method Summary collapse

Class Method Details

.enable_time_offset_warningObject



5
6
7
# File 'lib/knapsack/config/tracker.rb', line 5

def enable_time_offset_warning
  true
end

.generate_reportObject



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_secondsObject



9
10
11
# File 'lib/knapsack/config/tracker.rb', line 9

def time_offset_in_seconds
  30
end