Sha256: 2dcf3ebbeef0cc65a44bc965442d93517026929d272d65b8066c1c2d0cb97187

Contents?: true

Size: 101 Bytes

Versions: 18

Compression:

Stored size: 101 Bytes

Contents

class String
    def to_bool
        return true if self.downcase == "true"
        false
    end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
thecore_backend_commons-3.2.4 config/initializers/extension_string.rb
thecore_backend_commons-3.2.3 config/initializers/extension_string.rb
thecore_backend_commons-3.2.2 config/initializers/extension_string.rb
thecore_backend_commons-3.2.1 config/initializers/extension_string.rb
thecore_backend_commons-3.2.0 config/initializers/extension_string.rb
thecore_backend_commons-3.1.9 config/initializers/extension_string.rb
thecore_backend_commons-3.1.8 config/initializers/extension_string.rb
thecore_backend_commons-3.1.7 config/initializers/extension_string.rb
thecore_backend_commons-3.1.6 config/initializers/extension_string.rb
thecore_backend_commons-3.1.5 config/initializers/extension_string.rb
thecore_backend_commons-3.1.4 config/initializers/extension_string.rb
thecore_backend_commons-3.1.3 config/initializers/extension_string.rb
thecore_backend_commons-3.1.2 config/initializers/extension_string.rb
thecore_backend_commons-3.1.1 config/initializers/extension_string.rb
thecore_backend_commons-3.1.0 config/initializers/extension_string.rb
thecore_backend_commons-3.0.9 config/initializers/extension_string.rb
thecore_backend_commons-3.0.8 config/initializers/extension_string.rb
thecore_backend_commons-3.0.7 config/initializers/extension_string.rb