Module: ComponentHost::Defaults

Defined in:
lib/component_host/component_host.rb

Defined Under Namespace

Modules: EnvVarInfo, StartupInfo

Class Method Summary collapse

Class Method Details

.env_var_info?Boolean

Returns:

  • (Boolean)


53
54
55
# File 'lib/component_host/component_host.rb', line 53

def self.env_var_info?
  EnvVarInfo.get == 'on'
end

.startup_info?Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/component_host/component_host.rb', line 49

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