Sha256: fdae8d0dd06d1b9a8f4b3dbceb3506f2c509e5f9f09b0d4cac55045861d27109

Contents?: true

Size: 208 Bytes

Versions: 1

Compression:

Stored size: 208 Bytes

Contents

module Relish
  module StringExtensions
    def extract_option
      split(':')[1]
    end
    
    def remove_option
      split(':')[0]
    end
  end
end

class String
  include Relish::StringExtensions
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
relish-0.1.0 lib/relish/core_ext.rb