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.16 config/initializers/null_object.rb
renalware-core-2.0.15 config/initializers/null_object.rb
renalware-core-2.0.14 config/initializers/null_object.rb
renalware-core-2.0.13 config/initializers/null_object.rb
renalware-core-2.0.12 config/initializers/null_object.rb
renalware-core-2.0.11 config/initializers/null_object.rb
renalware-core-2.0.9 config/initializers/null_object.rb
renalware-core-2.0.8 config/initializers/null_object.rb
renalware-core-2.0.7 config/initializers/null_object.rb
renalware-core-2.0.5 config/initializers/null_object.rb
renalware-core-2.0.4 config/initializers/null_object.rb
renalware-core-2.0.3 config/initializers/null_object.rb
renalware-core-2.0.2 config/initializers/null_object.rb
renalware-core-2.0.1 config/initializers/null_object.rb
renalware-core-2.0.0 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc13 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc11 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc10 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc9 config/initializers/null_object.rb
renalware-core-2.0.0.pre.rc8 config/initializers/null_object.rb