lib/consul/power.rb in consul-1.0.1 vs lib/consul/power.rb in consul-1.0.2
- old
+ new
@@ -171,10 +171,10 @@
def singularize_power_name(name)
name = name.to_s
singularized = name.singularize
if singularized == name
- raise Consul::PowerNotSingularizable, "Power name can not have an singular form: #{name}"
+ raise Consul::PowerNotSingularizable, "Power name can not have a singular form: #{name}"
else
singularized
end
end