Class: Input
- Inherits:
-
Object
- Object
- Input
- Defined in:
- lib/input.rb
Instance Method Summary collapse
Instance Method Details
#url ⇒ Object
7 8 9 10 11 |
# File 'lib/input.rb', line 7 def url cTemp = (URI.parse("https://labict.be/software-engineering/temperature/api/temperature/fake").read).to_f puts cTemp return cTemp end |