mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-02 16:45:12 -07:00
Prefer Class.new() where possible
This commit is contained in:
+1
-2
@@ -4,8 +4,7 @@ module Liquid
|
||||
class I18n
|
||||
DEFAULT_LOCALE = File.join(File.expand_path(File.dirname(__FILE__)), "locales", "en.yml")
|
||||
|
||||
class TranslationError < StandardError
|
||||
end
|
||||
TranslationError = Class.new(StandardError)
|
||||
|
||||
attr_reader :path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user