Module: Tramway

Defined in:
lib/tramway.rb,
lib/tramway/config.rb,
lib/tramway/engine.rb,
lib/tramway/navbar.rb,
lib/tramway/version.rb,
lib/tramway/warnings.rb,
lib/tramway/base_form.rb,
lib/tramway/searchable.rb,
lib/tramway/duck_typing.rb,
lib/tramway/utils/field.rb,
lib/tramway/forms/fields.rb,
lib/tramway/utils/render.rb,
lib/tramway/base_decorator.rb,
lib/tramway/configs/entity.rb,
lib/tramway/chats/broadcast.rb,
app/components/tramway/chats.rb,
lib/tramway/forms/properties.rb,
lib/tramway/forms/validations.rb,
lib/tramway/forms/class_helper.rb,
lib/tramway/views/form_builder.rb,
lib/tramway/helpers/form_helper.rb,
lib/tramway/forms/normalizations.rb,
lib/tramway/helpers/views_helper.rb,
lib/tramway/configs/entities/page.rb,
lib/tramway/helpers/navbar_helper.rb,
lib/tramway/helpers/routes_helper.rb,
lib/tramway/configs/entities/route.rb,
lib/tramway/decorators/association.rb,
app/components/tramway/form/builder.rb,
lib/tramway/decorators/class_helper.rb,
lib/tramway/decorators/name_builder.rb,
lib/tramway/helpers/decorate_helper.rb,
lib/tramway/helpers/component_helper.rb,
app/components/tramway/base_component.rb,
app/components/tramway/chat_component.rb,
app/components/tramway/colors_methods.rb,
app/components/tramway/badge_component.rb,
app/components/tramway/flash_component.rb,
app/components/tramway/pagination/base.rb,
app/components/tramway/table_component.rb,
app/components/tramway/title_component.rb,
app/helpers/tramway/application_helper.rb,
app/components/tramway/button_component.rb,
app/components/tramway/entity_component.rb,
app/components/tramway/navbar_component.rb,
app/components/tramway/nav/item_component.rb,
app/components/tramway/table/row_component.rb,
app/components/tramway/form/label_component.rb,
app/components/tramway/table/cell_component.rb,
app/controllers/tramway/entities_controller.rb,
lib/tramway/decorators/collection_decorator.rb,
app/components/tramway/back_button_component.rb,
app/components/tramway/form/select_component.rb,
app/components/tramway/native_text_component.rb,
app/components/tramway/table/header_component.rb,
app/components/tramway/chats/message_component.rb,
app/components/tramway/form/checkbox_component.rb,
app/components/tramway/nav/item/link_component.rb,
app/components/tramway/form/text_area_component.rb,
app/components/tramway/pagination/gap_component.rb,
app/components/tramway/containers/main_component.rb,
app/components/tramway/form/date_field_component.rb,
app/components/tramway/form/file_field_component.rb,
app/components/tramway/form/text_field_component.rb,
app/components/tramway/form/time_field_component.rb,
app/components/tramway/nav/item/button_component.rb,
app/components/tramway/pagination/page_component.rb,
lib/generators/tramway/install/install_generator.rb,
app/components/tramway/containers/narrow_component.rb,
app/components/tramway/form/number_field_component.rb,
app/components/tramway/table/row/preview_component.rb,
app/components/tramway/comments/show_path_component.rb,
lib/tramway/duck_typing/active_record_compatibility.rb,
app/components/tramway/form/datetime_field_component.rb,
app/components/tramway/form/tramway_select_component.rb,
app/components/tramway/chats/messages/table_component.rb,
app/components/tramway/pagination/last_page_component.rb,
app/components/tramway/pagination/next_page_component.rb,
app/components/tramway/pagination/prev_page_component.rb,
app/components/tramway/pagination/first_page_component.rb,
app/components/tramway/chats/messages/container_component.rb,
app/components/tramway/actions_buttons_container_component.rb,
app/components/tramway/form/tramway_select/caret_component.rb,
app/components/tramway/form/tramway_select/item_container_component.rb,
app/components/tramway/form/tramway_select/select_as_input_component.rb,
app/components/tramway/form/tramway_select/autocomplete_input_component.rb,
app/components/tramway/form/tramway_select/dropdown_container_component.rb,
app/components/tramway/form/tramway_select/selected_item_template_component.rb

Overview

Core module for the whole gem

Defined Under Namespace

Modules: ApplicationHelper, Chats, ColorsMethods, Comments, Configs, Containers, Decorators, DuckTyping, Form, Forms, Generators, Helpers, Nav, Pagination, Searchable, Table, Utils, Views, Warnings Classes: ActionsButtonsContainerComponent, BackButtonComponent, BadgeComponent, BaseComponent, BaseDecorator, BaseForm, ButtonComponent, ChatComponent, Config, Engine, EntitiesController, EntityComponent, FlashComponent, NativeTextComponent, Navbar, NavbarComponent, TableComponent, TitleComponent

Constant Summary collapse

VERSION =
'3.0.3.2'

Class Method Summary collapse

Class Method Details

.configObject



22
23
24
# File 'lib/tramway.rb', line 22

def config
  Tramway::Config.instance
end

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

Yields:



18
19
20
# File 'lib/tramway.rb', line 18

def configure(&)
  yield config
end