Sha256: c61f8f1a9f0792eb9289285ac095be13774d0aaf850f53d81bd4e1182f09375e

Contents?: true

Size: 835 Bytes

Versions: 3

Compression:

Stored size: 835 Bytes

Contents

module Foundation
  module Rails
    module Helpers
      module FoundationRailsHelpersApplicationHelper

        ##
        # Generates a Foundation Panel
        #
        # http://foundation.zurb.com/docs/components/panels.html
        #
        # === Returns
        #
        # [Foundation::Rails::Helpers::Panel]
        #
        def foundation_panel(**options, &block)
          Foundation::Rails::Helpers::Panel.new(**options, &block)
        end

        ##
        # Generates a Foundation Alert
        #
        # http://foundation.zurb.com/docs/components/alerts.html
        #
        # === Returns
        #
        # [Foundation::Rails::Helpers::Alert]
        #
        def foundation_alert(**options, &block)
          Foundation::Rails::Helpers::Alert.new(**options, &block)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foundation-rails-helpers-0.0.4 app/helpers/foundation/rails/helpers/foundation_rails_helpers_application_helper.rb
foundation-rails-helpers-0.0.3 app/helpers/foundation/rails/helpers/foundation_rails_helpers_application_helper.rb
foundation-rails-helpers-0.0.2 app/helpers/foundation/rails/helpers/foundation_rails_helpers_application_helper.rb