aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/template/html.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-01-17 16:38:54 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-01-17 17:24:41 +0100
commit91f2ad36821cc01d2084dd1690fecc0913fc541d (patch)
tree435b1902cf8d7ab1dfd4b49a2a2144430d144480 /actionview/lib/action_view/template/html.rb
parent85146f6de0a361b98b77c38c589e5208521571b9 (diff)
downloadrails-91f2ad36821cc01d2084dd1690fecc0913fc541d.tar.gz
rails-91f2ad36821cc01d2084dd1690fecc0913fc541d.tar.bz2
rails-91f2ad36821cc01d2084dd1690fecc0913fc541d.zip
Store the symbols as an array.
A Set can't be implicitly converted into an Array: ``` irb(main):012:0> formats = [ :rss ] => [:rss] irb(main):013:0> formats &= SET.symbols TypeError: no implicit conversion of Set into Array from (irb):13:in `&' from (irb):13 from /Users/kasperhansen/.rbenv/versions/2.2.3/bin/irb:11:in `<main>' ``` Besides `Mime::SET.symbols` returns an Array, so we're closer to that.
Diffstat (limited to 'actionview/lib/action_view/template/html.rb')
0 files changed, 0 insertions, 0 deletions