Closed halostatue closed 13 years ago
Ian MacLeod (http://rubyforge.org/users/nevir)
In hunk.rb, there's the following:
attr_accessor :flag_context def flag_context=(context) #:nodoc:
Which causes the following warning to be emitted:
.../diff-lcs-1.1.2/lib/diff/lcs/hunk.rb:69: warning: method redefined; discarding old flag_context=
It seems like switching the attr macro from attr_accessor to attr_reader does the intended work
Fixed.
Ian MacLeod (http://rubyforge.org/users/nevir)
In hunk.rb, there's the following:
Which causes the following warning to be emitted:
It seems like switching the attr macro from attr_accessor to attr_reader does the intended work