class Value
Public Instance Methods
get()
click to toggle source
Method to obtain the value by keyboard that the thermostat obtain with a temperature sensor
# File lib/value.rb, line 4 def get puts "New value:" value= gets.chomp return value end