Flowdock
method

verb

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Route
verb() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/route.rb, line 33
      def verb
        if method = conditions[:request_method]
          case method
          when Regexp
            source = method.source.upcase
            source =~ /\A\^[-A-Z|]+\$\Z/ ? source[1..-2] : source
          else
            method.to_s.upcase
          end
        end
      end
Register or log in to add new notes.