Module: Koi Deprecated

Extended by:
ActiveSupport::Autoload, Koi
Included in:
Koi
Defined in:
app/components/koi/tables/table_component.rb,
lib/koi.rb,
lib/koi/menu.rb,
lib/koi/config.rb,
lib/koi/engine.rb,
lib/koi/caching.rb,
lib/koi/release.rb,
app/helpers/koi/pagy.rb,
lib/koi/form/builder.rb,
lib/koi/form_builder.rb,
lib/koi/menu/builder.rb,
app/helpers/koi/date_helper.rb,
lib/koi/extensions/dartsass.rb,
lib/koi/form/elements/image.rb,
app/jobs/koi/application_job.rb,
lib/koi/form/govuk_extensions.rb,
lib/koi/form/elements/document.rb,
lib/koi/middleware/url_redirect.rb,
app/components/koi/table_component.rb,
app/helpers/koi/application_helper.rb,
app/mailers/koi/application_mailer.rb,
lib/koi/form/elements/file_element.rb,
app/components/koi/header_component.rb,
lib/koi/extensions/object_rendering.rb,
app/components/koi/summary_list/base.rb,
app/helpers/koi/index_actions_helper.rb,
app/helpers/koi/definition_list_helper.rb,
app/components/koi/header/new_component.rb,
lib/koi/middleware/admin_authentication.rb,
app/components/concerns/koi/tables/cells.rb,
app/components/koi/header/edit_component.rb,
app/components/koi/header/show_component.rb,
app/components/koi/table_query_component.rb,
app/models/concerns/koi/model/archivable.rb,
lib/generators/koi/admin/admin_generator.rb,
app/components/koi/header/index_component.rb,
app/components/koi/summary_list_component.rb,
app/components/koi/summary_table_component.rb,
app/components/koi/summary_list/date_component.rb,
app/components/koi/summary_list/item_component.rb,
app/components/koi/summary_list/text_component.rb,
app/components/koi/tables/cells/link_component.rb,
app/components/koi/summary_list/number_component.rb,
app/components/koi/summary_list/boolean_component.rb,
app/components/koi/content/editor/errors_component.rb,
app/components/koi/summary_list/datetime_component.rb,
app/components/koi/summary_list/rich_text_component.rb,
app/components/koi/summary_list/attachment_component.rb,
app/components/koi/tables/cells/attachment_component.rb,
app/controllers/concerns/koi/controller/has_webauthn.rb,
lib/generators/koi/admin_route/admin_route_generator.rb,
lib/generators/koi/admin_views/admin_views_generator.rb,
app/components/koi/content/editor/item_form_component.rb,
app/components/koi/navigation/editor/errors_component.rb,
lib/generators/koi/helpers/admin_generator_attributes.rb,
app/controllers/concerns/koi/controller/json_web_token.rb,
app/controllers/concerns/koi/controller/has_admin_users.rb,
app/controllers/concerns/koi/controller/has_attachments.rb,
lib/generators/koi/active_record/active_record_generator.rb,
app/controllers/concerns/koi/controller/is_admin_controller.rb,
lib/generators/koi/admin_controller/admin_controller_generator.rb

Overview

Deprecated.

prefer Koi::TableComponent

Defined Under Namespace

Modules: ApplicationHelper, Caching, Content, Controller, DateHelper, DefinitionListHelper, Extensions, Form, Header, Helpers, IndexActionsHelper, Menu, Middleware, Model, Navigation, Pagy, Release, SummaryList, Tables Classes: ActiveRecordGenerator, AdminControllerGenerator, AdminGenerator, AdminRouteGenerator, AdminViewsGenerator, ApplicationJob, ApplicationMailer, Config, Engine, FormBuilder, HeaderComponent, IndexActionsBuilder, ReleaseMetaTagsBuilder, SummaryListComponent, SummaryTableComponent, TableComponent, TableQueryComponent

Instance Method Summary collapse

Instance Method Details

#configObject



13
14
15
# File 'lib/koi.rb', line 13

def config
  @config ||= Config.new
end

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

Yields:



17
18
19
# File 'lib/koi.rb', line 17

def configure
  yield config
end