Method: WinUtilinfo::HardwareMethods#get_model
- Defined in:
- lib/win_utilinfo/hardware_methods.rb
#get_model ⇒ Object
9 10 11 12 |
# File 'lib/win_utilinfo/hardware_methods.rb', line 9 def get_model model = `wmic computersystem get Model | more +1`.strip! return model end |