diff options
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/template/types.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/template/types.rb b/actionview/lib/action_view/template/types.rb index f423399c30..ddc5b25831 100644 --- a/actionview/lib/action_view/template/types.rb +++ b/actionview/lib/action_view/template/types.rb @@ -5,7 +5,7 @@ module ActionView class Template class Types class Type - SET = Struct.new(:symbols).new(Set.new([ :html, :text, :js, :css, :xml, :json ])) + SET = Struct.new(:symbols).new([ :html, :text, :js, :css, :xml, :json ]) def self.[](type) if type.is_a?(self) |