Sha256: 08f48c7e94c24e36ced93b708b1c8276502aac970009fce30ef2f1894a7d5b0f
Contents?: true
Size: 743 Bytes
Versions: 4
Compression:
Stored size: 743 Bytes
Contents
# frozen_string_literal: true require 'faster_support/version' require 'faster_support/faster_support' require 'faster_support/core_ext' module FasterSupport class << self def blank_implementation @blank_implementation ||= :active_support end def blank_implementation=(impl) @blank_implementation = case impl.to_sym when :mri, :ruby then :mri when :as, :active_support, :rails then :active_support else raise ArgumentError, "Unknown implementation: #{impl}. " \ 'Please use :active_support or :mri.' end end alias blank_impl blank_implementation alias blank_impl= blank_implementation= end @blank_implementation = :active_support end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
faster_support-0.2.1 | lib/faster_support.rb |
faster_support-0.2.0 | lib/faster_support.rb |
faster_support-0.1.4 | lib/faster_support.rb |
faster_support-0.1.3 | lib/faster_support.rb |