Sha256: 9977be0d32adf05817cf00b4c18475cf2e70f565f81d3ebb0860c4502e10daf4

Contents?: true

Size: 340 Bytes

Versions: 20

Compression:

Stored size: 340 Bytes

Contents

module Rack::Insight
  class RailsInfoPanel < Panel

    self.has_table = false

    def heading
      return unless (defined?(Rails) && defined?(Rails::Info))
      "Rails #{Rails.version}"
    end

    def content
      return unless (defined?(Rails) && defined?(Rails::Info))
      render_template "panels/rails_info"
    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rack-insight-0.6.4 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.6.3 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.6.2 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.30 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.29 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.28 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.27 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.26 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.25 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.24 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.23 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.22 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.21 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.20 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.19 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.18 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.17 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.16 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.15 lib/rack/insight/panels/rails_info_panel.rb
rack-insight-0.5.14 lib/rack/insight/panels/rails_info_panel.rb