私はそれが何をするのか知りたいです:
File.open(filename,"r").each_file do |line|
if (!line.strip.empty? and !line.starts_with?(" "))
....
.....
end
end
特に何strip
ですか?御時間ありがとうございます!
私はそれが何をするのか知りたいです:
File.open(filename,"r").each_file do |line|
if (!line.strip.empty? and !line.starts_with?(" "))
....
.....
end
end
特に何strip
ですか?御時間ありがとうございます!