Method: Scale::Endpoints::Endpoint.match?

Defined in:
lib/scale/endpoints/endpoint.rb

.match?(method) ⇒ Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/scale/endpoints/endpoint.rb', line 20

def self.match?(method)
  shortcut.to_s == method.to_s
end