Sha256: e3ff983ccb6d950b4c5737714a493ee9b5b2124171036587297f8d6d10148f83

Contents?: true

Size: 271 Bytes

Versions: 29

Compression:

Stored size: 271 Bytes

Contents

module Renalware
  NullObject = Naught.build do |config|
    config.black_hole
    config.define_explicit_conversions
    config.singleton
    # Note adding `predicates_return false` causes failures e.g. with I18n.l(<null>)
    # config.predicates_return false
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc7 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc6 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc5 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc4 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc3 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc1 config/initializers/null_object.rb
renalware-core-2.0.0.pre.beta12 config/initializers/null_object.rb
renalware-core-2.0.0.pre.beta11 config/initializers/null_object.rb
renalware-core-2.0.0.pre.beta10 config/initializers/null_object.rb