Sha256: c135de089a337c7e4062a0c1b0fff5d662258c84464107d9cb2ab1067166d302

Contents?: true

Size: 391 Bytes

Versions: 10

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

module Stenographer
  module ApplicationHelper
    def app_name
      Stenographer.app_name
    end

    def app_icon?
      Stenographer.app_icon.present?
    end

    def app_icon
      Stenographer.app_icon
    end

    def manager?
      Stenographer.manager.respond_to?(:call) ? Stenographer.manager.call(session) : Stenographer.manager
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stenographer-rails-0.7.4 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.7.3 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.7.1 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.7.0 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.6.5 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.6.4 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.6.3 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.6.2 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.6.1 app/helpers/stenographer/application_helper.rb
stenographer-rails-0.6.0 app/helpers/stenographer/application_helper.rb