Module: Panda::Core

Defined in:
lib/panda/core.rb,
lib/panda/core/seo.rb,
lib/panda/core/debug.rb,
lib/panda/core/media.rb,
lib/panda/core/engine.rb,
lib/panda/core/railtie.rb,
lib/panda/core/version.rb,
lib/panda/core/sluggable.rb,
lib/panda/core/rake_tasks.rb,
app/models/panda/core/user.rb,
lib/panda/core/asset_loader.rb,
lib/panda/core/configuration.rb,
lib/panda/core/notifications.rb,
app/models/panda/core/current.rb,
lib/panda/core/authentication.rb,
app/components/panda/core/base.rb,
lib/panda/core/oauth_providers.rb,
app/models/panda/core/breadcrumb.rb,
app/components/panda/core/UI/card.rb,
lib/panda/core/component_registry.rb,
app/components/panda/core/UI/badge.rb,
app/components/panda/core/UI/button.rb,
app/helpers/panda/core/asset_helper.rb,
lib/panda/core/testing/rspec_config.rb,
app/builders/panda/core/form_builder.rb,
lib/panda/core/services/base_service.rb,
app/helpers/panda/core/sessions_helper.rb,
lib/panda/core/testing/capybara_config.rb,
lib/panda/core/testing/omniauth_helpers.rb,
app/models/panda/core/application_record.rb,
app/constraints/panda/core/admin_constraint.rb,
lib/generators/panda/core/install_generator.rb,
app/components/panda/core/admin/tag_component.rb,
app/services/panda/core/attach_avatar_service.rb,
lib/generators/panda/core/dev_tools_generator.rb,
lib/generators/panda/core/templates_generator.rb,
app/components/panda/core/admin/panel_component.rb,
app/components/panda/core/admin/table_component.rb,
app/components/panda/core/admin/button_component.rb,
app/controllers/panda/core/admin/base_controller.rb,
app/components/panda/core/admin/heading_component.rb,
app/components/panda/core/admin/tab_bar_component.rb,
app/controllers/panda/core/application_controller.rb,
app/components/panda/core/admin/container_component.rb,
app/components/panda/core/admin/slideover_component.rb,
app/components/panda/core/admin/breadcrumb_component.rb,
app/components/panda/core/admin/form_error_component.rb,
app/components/panda/core/admin/form_input_component.rb,
app/components/panda/core/admin/statistics_component.rb,
app/controllers/panda/core/admin/sessions_controller.rb,
lib/panda/core/subscribers/authentication_subscriber.rb,
app/components/panda/core/admin/form_select_component.rb,
app/components/panda/core/admin/page_header_component.rb,
app/controllers/panda/core/admin/dashboard_controller.rb,
app/components/panda/core/admin/file_gallery_component.rb,
app/components/panda/core/admin/user_display_component.rb,
app/controllers/panda/core/admin/my_profile_controller.rb,
app/components/panda/core/admin/flash_message_component.rb,
app/components/panda/core/admin/user_activity_component.rb,
app/controllers/panda/core/admin/test_sessions_controller.rb

Defined Under Namespace

Modules: Admin, AssetHelper, Authentication, Debug, Generators, Media, Notifications, OAuthProviders, RakeTasks, SEO, Services, SessionsHelper, Sluggable, Subscribers, Testing, UI Classes: AdminConstraint, ApplicationController, ApplicationRecord, AssetLoader, AttachAvatarService, Base, Breadcrumb, ComponentRegistry, Configuration, Current, Engine, FormBuilder, InstallGenerator, Railtie, User

Constant Summary collapse

VERSION =
"0.6.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



89
90
91
# File 'lib/panda/core/configuration.rb', line 89

def config
  @config ||= Configuration.new
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



93
94
95
# File 'lib/panda/core/configuration.rb', line 93

def configure
  yield(config)
end

.reset_config!Object Also known as: reset_configuration!



97
98
99
# File 'lib/panda/core/configuration.rb', line 97

def reset_config!
  @config = Configuration.new
end

.rootObject



7
8
9
# File 'lib/panda/core.rb', line 7

def self.root
  File.expand_path("../..", __FILE__)
end