Sha256: c0cf81707d9d2d5ccbe28c9382ad7a8eaf843741e18295e37a71275cb6c7ee85

Contents?: true

Size: 173 Bytes

Versions: 12

Compression:

Stored size: 173 Bytes

Contents

# extend core Ruby object classes
module CoreExtensions
  # extend core String class
  module String
    def url?
      start_with?("http://", "https://")
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
card-1.108.1 config/initializers/01_core_extensions/string.rb
card-1.108.0 config/initializers/01_core_extensions/string.rb
card-1.107.0 config/initializers/01_core_extensions/string.rb
card-1.106.0 config/initializers/01_core_extensions/string.rb
card-1.105.6 config/initializers/01_core_extensions/string.rb
card-1.105.5 config/initializers/01_core_extensions/string.rb
card-1.105.4 config/initializers/01_core_extensions/string.rb
card-1.105.3 config/initializers/01_core_extensions/string.rb
card-1.105.2.pre1 config/initializers/01_core_extensions/string.rb
card-1.105.2 config/initializers/01_core_extensions/string.rb
card-1.105.1 config/initializers/01_core_extensions/string.rb
card-1.105.0 config/initializers/01_core_extensions/string.rb