質問編集履歴
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -79,8 +79,6 @@
|
|
79
79
|
|
80
80
|
|
81
81
|
def initialize(name, price)
|
82
|
-
|
83
|
-
super(name: name, price: price)
|
84
82
|
|
85
83
|
self.artist = artist
|
86
84
|
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
|
80
80
|
|
81
|
-
def initialize(name
|
81
|
+
def initialize(name, price)
|
82
82
|
|
83
83
|
super(name: name, price: price)
|
84
84
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,15 +38,11 @@
|
|
38
38
|
|
39
39
|
# 編集
|
40
40
|
|
41
|
-
require "./product"
|
42
|
-
|
43
41
|
attr_accessor :author, :publisher, :page_count
|
44
42
|
|
45
43
|
|
46
44
|
|
47
|
-
def initialize(name:, price:, author:, publisher:, page_count: )
|
48
|
-
|
49
|
-
|
45
|
+
def initialize(name, price)
|
50
46
|
|
51
47
|
self.author = author
|
52
48
|
|
@@ -78,13 +74,11 @@
|
|
78
74
|
|
79
75
|
# 編集
|
80
76
|
|
81
|
-
require "./product"
|
82
|
-
|
83
77
|
attr_accessor :artist, :year, :songs
|
84
78
|
|
85
79
|
|
86
80
|
|
87
|
-
def initialize(name:, price
|
81
|
+
def initialize(name:, price)
|
88
82
|
|
89
83
|
super(name: name, price: price)
|
90
84
|
|