mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
use "attr_reader" instead of "attr_accessor" for CustomFieldValue#value
CustomFieldValue#value= is already defined in this class. git-svn-id: http://svn.redmine.org/redmine/trunk@18615 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
class CustomFieldValue
|
||||
attr_accessor :custom_field, :customized, :value, :value_was
|
||||
attr_accessor :custom_field, :customized, :value_was
|
||||
attr_reader :value
|
||||
|
||||
def initialize(attributes={})
|
||||
attributes.each do |name, v|
|
||||
|
||||
Reference in New Issue
Block a user