Sha256: 6a76483d5f3f92168130695cb9a9adba57ac5b80e93f14af01bdfb1692503587
Contents?: true
Size: 367 Bytes
Versions: 6
Compression:
Stored size: 367 Bytes
Contents
require 'singleton' class Rules::Config include Singleton attr_accessor :errors_are_false, :missing_attributes_are_nil def initialize self.errors_are_false = true self.missing_attributes_are_nil = true end def missing_attributes_are_nil? !!missing_attributes_are_nil end def errors_are_false? !!errors_are_false end end
Version data entries
6 entries across 6 versions & 1 rubygems