Class: KPM::SystemProxy::EntropyAvailable
- Inherits:
-
Object
- Object
- KPM::SystemProxy::EntropyAvailable
- Defined in:
- lib/kpm/system_helpers/entropy_available.rb
Instance Attribute Summary collapse
-
#entropy_available ⇒ Object
readonly
Returns the value of attribute entropy_available.
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
Instance Method Summary collapse
-
#initialize ⇒ EntropyAvailable
constructor
A new instance of EntropyAvailable.
Constructor Details
#initialize ⇒ EntropyAvailable
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_available ⇒ Object (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 |
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
6 7 8 |
# File 'lib/kpm/system_helpers/entropy_available.rb', line 6 def labels @labels end |