Sha256: 2c80067b29dab455d3fd0fcf8a9e760818e51329a8661cc8064dba110641c594

Contents?: true

Size: 373 Bytes

Versions: 8

Compression:

Stored size: 373 Bytes

Contents

module WithPopup
  module Helpers
    module Util
      private
      def add_with_popup_option_to!(options)
        options["data-with-popup"] = true
        if options[:with_popup]
          options["data-with-popup-src"] = options[:with_popup][:src]
          options["data-with-popup-features"] = options[:with_popup][:features]
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
with_popup-0.1.0 lib/with_popup/helpers/util.rb
with_popup-0.0.7 lib/with_popup/helpers/util.rb
with_popup-0.0.6 lib/with_popup/helpers/util.rb
with_popup-0.0.5 lib/with_popup/helpers/util.rb
with_popup-0.0.4 lib/with_popup/helpers/util.rb
with_popup-0.0.3 lib/with_popup/helpers/util.rb
with_popup-0.0.2 lib/with_popup/helpers/util.rb
with_popup-0.0.1 lib/with_popup/helpers/util.rb