module Roda::RodaPlugins::MultiView::ClassMethods
Public Instance Methods
Source
# File lib/roda/plugins/multi_view.rb, line 65 def multi_view_compile(array) /(#{Regexp.union(array)})/ end
Given the array of view template names, return a regexp that will match on any of the names and capture the matched name.