Class: CSV
- Inherits:
-
Object
- Object
- CSV
- Defined in:
- lib/jiji/util/csv_append_support.rb
Overview
追記をサポートするように改造。
Class Method Summary collapse
Class Method Details
.open(path, mode, fs = nil, rs = nil, &block) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/jiji/util/csv_append_support.rb', line 8 def open( path, mode, fs=nil, rs=nil, &block ) if mode == "a" || mode == "ab" open_writer( path, mode, fs, rs, &block) else open_org( path, mode, fs=nil, rs=nil, &block ) end end |
.open_org ⇒ Object
6 |
# File 'lib/jiji/util/csv_append_support.rb', line 6 alias_method( :open_org, :open ) |