module FService

A small, monad-based service class

@api public

Constants

VERSION

Current version of the gem

Public Class Methods

deprecate!(name:, alternative:) click to toggle source

Marks a method as deprecated

@api private

# File lib/f_service.rb, line 12
def self.deprecate!(name:, alternative:)
  warn "[DEPRECATED] #{name} is deprecated; " \
       "use #{alternative} instead. " \
       'It will be removed on the next release.'
end