lib/eco/api/common/loaders/use_case.rb in eco-helpers-2.0.12 vs lib/eco/api/common/loaders/use_case.rb in eco-helpers-2.0.13

- old
+ new

@@ -6,10 +6,10 @@ class << self # @return [Symbol] the `type` of usecase (i.e. `:sync`, `:transform`, `:import`, `:other`) def type(value = nil) unless value - return @type || raise("You should specify a type of case [:sync, :transform, :import, :other] for #{self.class}") + return @type || raise("You should specify a type of case [:sync, :transform, :import, :other] for #{self}") end @type = value end end