lib/tram/policy.rb in tram-policy-0.2.4 vs lib/tram/policy.rb in tram-policy-0.2.5

- old
+ new

@@ -21,10 +21,10 @@ # @param [Hash<Symbol, Object>] options # @return [String] # def t(message, **options) return message.to_s unless message.is_a? Symbol - I18n.t message, scope: self.class.scope, **options + I18n.t message, scope: self.class.send(:scope), **options end # Collection of validation errors # # @return [Tram::Policy::Errors]