Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dir.glob(Rails.root+"public/nec/pg/*.txt") do |filename|
- data=File.read(filename)
- buff=[]
- data.gsub("\n"," ").split(".").each{|x| if x.size>15; buff<<x end};var=0
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement