class FileReader

Attributes

temperature[R]

Public Class Methods

new() click to toggle source
# File lib/read_file.rb, line 5
def initialize
        $temperature
end

Public Instance Methods

read(file) click to toggle source
# File lib/read_file.rb, line 9
def read file
        $temperature = File.open(file).read
end