Sha256: 57aa65db7fd97c77d0eafd77b6ef79c575af90a1b25ca26d0994b09432fb7de1

Contents?: true

Size: 277 Bytes

Versions: 17

Compression:

Stored size: 277 Bytes

Contents

module Aio::Parse

  class File
    
  attr_accessor :file_open

  def initialize(file_path)
    self.file_open = File.open(file_path, "r+")
  end

  def each_line
    file_open.each_line do |line|
      # 改进点,加入sefe_string方法
      yield line
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
aio_elin-1.1.8 lib/aio/core/parse/file.rb
aio_elin-1.1.7 lib/aio/core/parse/file.rb
aio_elin-1.1.4 lib/aio/core/parse/file.rb
aio_elin-1.1.3 lib/aio/core/parse/file.rb
aio_elin-1.1.2 lib/aio/core/parse/file.rb
aio_elin-1.1.1 lib/aio/core/parse/file.rb
aio_elin-1.1.0 lib/aio/core/parse/file.rb
aio_elin-1.0.9 lib/aio/core/parse/file.rb
aio_elin-1.0.8 lib/aio/core/parse/file.rb
aio_elin-1.0.7 lib/aio/core/parse/file.rb
aio_elin-1.0.6 lib/aio/core/parse/file.rb
aio_elin-1.0.5 lib/aio/core/parse/file.rb
aio_elin-1.0.4 lib/aio/core/parse/file.rb
aio_elin-1.0.3 lib/aio/core/parse/file.rb
aio_elin-1.0.2 lib/aio/core/parse/file.rb
aio_elin-1.0.1 lib/aio/core/parse/file.rb
aio_elin-1.0.0 lib/aio/core/parse/file.rb