Sha256: 101989c2d3718a3783c7a37c537af0fc753054910231643891bd244260a792e9

Contents?: true

Size: 200 Bytes

Versions: 15

Compression:

Stored size: 200 Bytes

Contents

module  MembersHelper

  def abridged_url(str)
    if str.present?
      uri = URI(str)
      "#{uri.host}#{uri.path}#{uri.query}#{uri.fragment}"
    else # string is blank
      ''
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tkh_mailing_list-0.12 app/helpers/members_helper.rb
tkh_mailing_list-0.11.3 app/helpers/members_helper.rb
tkh_mailing_list-0.11.2 app/helpers/members_helper.rb
tkh_mailing_list-0.11.1.1 app/helpers/members_helper.rb
tkh_mailing_list-0.11.1 app/helpers/members_helper.rb
tkh_mailing_list-0.11 app/helpers/members_helper.rb
tkh_mailing_list-0.10.10 app/helpers/members_helper.rb
tkh_mailing_list-0.10.9.1 app/helpers/members_helper.rb
tkh_mailing_list-0.10.9 app/helpers/members_helper.rb
tkh_mailing_list-0.10.8 app/helpers/members_helper.rb
tkh_mailing_list-0.10.7 app/helpers/members_helper.rb
tkh_mailing_list-0.10.6 app/helpers/members_helper.rb
tkh_mailing_list-0.10.5 app/helpers/members_helper.rb
tkh_mailing_list-0.10.4 app/helpers/members_helper.rb
tkh_mailing_list-0.10.3 app/helpers/members_helper.rb