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:
Toshi MARUYAMA
2019-10-07 11:44:54 +00:00
parent 6972d7e982
commit 21cc761b53
2 changed files with 2 additions and 2 deletions

View File

@@ -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|