Class: ConvenientService::Examples::Standard::DateTime

Inherits:
Object
  • Object
show all
Includes:
Feature::Configs::Standard
Defined in:
lib/convenient_service/examples/standard/date_time.rb,
lib/convenient_service/examples/standard/date_time/services/safe_parse.rb

Defined Under Namespace

Modules: Services

Instance Method Summary collapse

Instance Method Details

#safe_parse(string, format) ⇒ Object



19
20
21
# File 'lib/convenient_service/examples/standard/date_time.rb', line 19

def safe_parse(string, format)
  Services::SafeParse[string: string, format: format]
end