Sha256: 0cc859c0f3affc7be51e9c93bdbf7b45f6ba9cf854df67201ad045916193bc1a

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

module RailsConnector

  # adds flavour to strings
  module StringTagging

    # html flavour
    def self.tag_as_html(string)
      unless string.blank?
        class << string
          include RailsConnector::HtmlString
        end
      end
      string
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.1.0 lib/rails_connector/string_tagging.rb