module Inflect::ServiceProviderMethods::InstanceMethods

Public Instance Methods

service_provider() click to toggle source

Provide the Service Provider as a virtual attribute.

# File lib/inflect/service_provider_methods.rb, line 12
def service_provider
  Inflect::ServiceProvider.instance
end
services() click to toggle source

Access available services through a virtual attribute. @return [Enumerable]

# File lib/inflect/service_provider_methods.rb, line 18
def services
  service_provider.services
end