module Twirp::Rails::Routes::Inspectable
A module to modify the output of the controller part on `rails routes`
Constants
- REMOVABLE_SUFFIX_RE
Public Instance Methods
inspect()
click to toggle source
# File lib/twirp/rails/routes.rb, line 17 def inspect instance_variable_get(:@handler).class.name.underscore.sub(REMOVABLE_SUFFIX_RE, '') end