Sha256: ba8638028beb7045e2e6bc1834f2e7898853136c8fe5ccd5bd845b993b75d4bc

Contents?: true

Size: 457 Bytes

Versions: 45

Compression:

Stored size: 457 Bytes

Contents

module Plutonium
  module Helpers
    module ApplicationHelper
      def application_name
        Plutonium.application_name
      end

      # Renders an icon using the Plutonium Icons library.
      #
      # @param icon [Symbol, String] The name or identifier of the icon to render.
      # @return [String] The HTML-safe string for the rendered icon.
      def render_icon(icon, **)
        Plutonium::Icons.render(icon, **)
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
plutonium-0.15.18 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.17 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.16 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.15 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.14 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.13 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.12 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.11 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.10 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.9 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.8 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.7 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.6 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.5 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.4 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.3 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.2 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.1 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.0 lib/plutonium/helpers/application_helper.rb
plutonium-0.15.0.pre.rc3 lib/plutonium/helpers/application_helper.rb