mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge csv-3.0.0 from ruby/csv repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
21ce539f20
commit
60ebd4e26a
11 changed files with 148 additions and 106 deletions
|
@ -48,6 +48,11 @@ class CSV
|
|||
extend Forwardable
|
||||
def_delegators :@row, :empty?, :length, :size
|
||||
|
||||
def initialize_copy(other)
|
||||
super
|
||||
@row = @row.dup
|
||||
end
|
||||
|
||||
# Returns +true+ if this is a header row.
|
||||
def header_row?
|
||||
@header_row
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue