Method: Viewmaster::Request#method_missing

Defined in:
lib/viewmaster/request.rb

#method_missing(method, *args) ⇒ Object (private)



41
42
43
44
45
46
47
# File 'lib/viewmaster/request.rb', line 41

def method_missing(method, *args)
  if method.to_s.match(/^is_version_(\w+)[?]$/)
    user_layout.name == $1
  else
    super
  end
end