Class: Localer::Data::Service

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/localer/data/service.rb

Overview

Core service object

Direct Known Subclasses

Checker, MissingTranslations, Processor

Class Method Summary collapse

Class Method Details

.call(*args, &block) ⇒ Object

Instantiates and calls the service at once



12
13
14
# File 'lib/localer/data/service.rb', line 12

def call(*args, &block)
  new(*args).call(&block)
end