Module: Consumer::Defaults

Defined in:
lib/consumer/consumer.rb,
lib/consumer/defaults.rb

Defined Under Namespace

Modules: StartupInfo

Class Method Summary collapse

Class Method Details

.position_update_intervalObject



3
4
5
# File 'lib/consumer/defaults.rb', line 3

def self.position_update_interval
  100
end

.startup_info?Boolean

Returns:

  • (Boolean)


239
240
241
# File 'lib/consumer/consumer.rb', line 239

def self.startup_info?
  StartupInfo.get == 'on'
end