@@ -58,9 +58,7 @@ def fetch(*args)
58
58
# @return [Boolean]
59
59
#
60
60
def test
61
- raise NotImplementedError . new (
62
- "Your SCM strategy module should provide a #test method"
63
- )
61
+ raise NotImplementedError , "Your SCM strategy module should provide a #test method"
64
62
end
65
63
66
64
# @abstract
@@ -71,9 +69,7 @@ def test
71
69
# @return [Boolean]
72
70
#
73
71
def check
74
- raise NotImplementedError . new (
75
- "Your SCM strategy module should provide a #check method"
76
- )
72
+ raise NotImplementedError , "Your SCM strategy module should provide a #check method"
77
73
end
78
74
79
75
# @abstract
@@ -83,9 +79,7 @@ def check
83
79
# @return void
84
80
#
85
81
def clone
86
- raise NotImplementedError . new (
87
- "Your SCM strategy module should provide a #clone method"
88
- )
82
+ raise NotImplementedError , "Your SCM strategy module should provide a #clone method"
89
83
end
90
84
91
85
# @abstract
@@ -95,9 +89,7 @@ def clone
95
89
# @return void
96
90
#
97
91
def update
98
- raise NotImplementedError . new (
99
- "Your SCM strategy module should provide a #update method"
100
- )
92
+ raise NotImplementedError , "Your SCM strategy module should provide a #update method"
101
93
end
102
94
103
95
# @abstract
@@ -107,9 +99,7 @@ def update
107
99
# @return void
108
100
#
109
101
def release
110
- raise NotImplementedError . new (
111
- "Your SCM strategy module should provide a #release method"
112
- )
102
+ raise NotImplementedError , "Your SCM strategy module should provide a #release method"
113
103
end
114
104
115
105
# @abstract
@@ -119,9 +109,7 @@ def release
119
109
# @return void
120
110
#
121
111
def fetch_revision
122
- raise NotImplementedError . new (
123
- "Your SCM strategy module should provide a #fetch_revision method"
124
- )
112
+ raise NotImplementedError , "Your SCM strategy module should provide a #fetch_revision method"
125
113
end
126
114
end
127
115
end
0 commit comments