Module: Radfish::Core::System
- Defined in:
- lib/radfish/core/system.rb
Instance Method Summary collapse
- #cpus ⇒ Object
- #fans ⇒ Object
- #make ⇒ Object
- #memory ⇒ Object
- #model ⇒ Object
- #nics ⇒ Object
- #power_consumption ⇒ Object
- #power_consumption_watts ⇒ Object
- #psus ⇒ Object
- #serial ⇒ Object
- #service_tag ⇒ Object
- #system_info ⇒ Object
- #temperatures ⇒ Object
Instance Method Details
#cpus ⇒ Object
26 27 28 |
# File 'lib/radfish/core/system.rb', line 26 def cpus raise NotImplementedError, "Adapter must implement #cpus" end |
#fans ⇒ Object
38 39 40 |
# File 'lib/radfish/core/system.rb', line 38 def fans raise NotImplementedError, "Adapter must implement #fans" end |
#make ⇒ Object
14 15 16 |
# File 'lib/radfish/core/system.rb', line 14 def make raise NotImplementedError, "Adapter must implement #make" end |
#memory ⇒ Object
30 31 32 |
# File 'lib/radfish/core/system.rb', line 30 def memory raise NotImplementedError, "Adapter must implement #memory" end |
#model ⇒ Object
18 19 20 |
# File 'lib/radfish/core/system.rb', line 18 def model raise NotImplementedError, "Adapter must implement #model" end |
#nics ⇒ Object
34 35 36 |
# File 'lib/radfish/core/system.rb', line 34 def nics raise NotImplementedError, "Adapter must implement #nics" end |
#power_consumption ⇒ Object
50 51 52 |
# File 'lib/radfish/core/system.rb', line 50 def power_consumption raise NotImplementedError, "Adapter must implement #power_consumption" end |
#power_consumption_watts ⇒ Object
54 55 56 |
# File 'lib/radfish/core/system.rb', line 54 def power_consumption_watts raise NotImplementedError, "Adapter must implement #power_consumption_watts" end |
#psus ⇒ Object
46 47 48 |
# File 'lib/radfish/core/system.rb', line 46 def psus raise NotImplementedError, "Adapter must implement #psus" end |
#serial ⇒ Object
22 23 24 |
# File 'lib/radfish/core/system.rb', line 22 def serial raise NotImplementedError, "Adapter must implement #serial" end |
#service_tag ⇒ Object
10 11 12 |
# File 'lib/radfish/core/system.rb', line 10 def service_tag raise NotImplementedError, "Adapter must implement #service_tag" end |
#system_info ⇒ Object
6 7 8 |
# File 'lib/radfish/core/system.rb', line 6 def system_info raise NotImplementedError, "Adapter must implement #system_info" end |
#temperatures ⇒ Object
42 43 44 |
# File 'lib/radfish/core/system.rb', line 42 def temperatures raise NotImplementedError, "Adapter must implement #temperatures" end |