d2a45c0be2
new file: c/ff new file: c/main.rb new file: lib/gtk2.rb new file: lib/gtk2/base.rb new file: lib/net/external.rb new file: lib/net/helper.rb new file: lib/net/http.rb new file: lib/net/icmp.rb new file: lib/net/ping.rb new file: lib/net/tcp.rb new file: lib/net/udp.rb new file: lib/net/wmi.rb new file: m/ReadFile.rb new file: v/Vue1.rb new file: v/VueError.rb
19 lines
249 B
Ruby
19 lines
249 B
Ruby
class ReadFile
|
|
def initialize(pFic)
|
|
@fic = File.open(pFic, "r")
|
|
end
|
|
|
|
def getLines
|
|
i=0
|
|
tabLines = []
|
|
@fic.each_line { |ligne|
|
|
tabLines[i] = ligne
|
|
i = i + 1
|
|
}
|
|
return tabLines
|
|
end
|
|
end
|
|
|
|
class TestLink
|
|
|
|
end |