Module: Inflect::ServiceProviderMethods::InstanceMethods
- Defined in:
- lib/inflect/service_provider_methods.rb
Instance Method Summary collapse
-
#service_provider ⇒ Object
Provide the Service Provider as a virtual attribute.
-
#services ⇒ Enumerable[AbstractService]
Access available services through a virtual attribute.
Instance Method Details
#service_provider ⇒ Object
Provide the Service Provider as a virtual attribute.
12 13 14 |
# File 'lib/inflect/service_provider_methods.rb', line 12 def service_provider Inflect::ServiceProvider.instance end |
#services ⇒ Enumerable[AbstractService]
Access available services through a virtual attribute.
18 19 20 |
# File 'lib/inflect/service_provider_methods.rb', line 18 def services service_provider.services end |