Class: KPM::SystemProxy::EntropyAvailable

Inherits:
Object
  • Object
show all
Defined in:
lib/kpm/system_helpers/entropy_available.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEntropyAvailable

Returns a new instance of EntropyAvailable.



8
9
10
11
12
# File 'lib/kpm/system_helpers/entropy_available.rb', line 8

def initialize
  @entropy_available = fetch
  @labels = [{ label: :entropy },
             { label: :value }]
end

Instance Attribute Details

#entropy_availableObject (readonly)

Returns the value of attribute entropy_available.



6
7
8
# File 'lib/kpm/system_helpers/entropy_available.rb', line 6

def entropy_available
  @entropy_available
end

#labelsObject (readonly)

Returns the value of attribute labels.



6
7
8
# File 'lib/kpm/system_helpers/entropy_available.rb', line 6

def labels
  @labels
end