Module: AppRail::Steps::Displayable
- Includes:
- BackgroundLocation::Region, Charts::Dashboard, Core::List, Core::Stack, CoreForms::Form, CoreForms::Question, Grid::Grid, Maps::ConfirmLocation, Maps::Map
- Defined in:
- lib/app_rail/steps/displayable.rb
Constant Summary
Constants included from Core::Stack
Core::Stack::BUTTON_STYLES, Core::Stack::CONTENT_MODE_OPTIONS, Core::Stack::IMAGE_STYLE_OPTIONS, Core::Stack::ON_SUCCESS_OPTIONS, Core::Stack::TEXT_STYLE_OPTIONS
Instance Method Summary collapse
Methods included from BackgroundLocation::Region
#ar_background_location_region
Methods included from Charts::Dashboard
#ar_charts_dashboard_bar_chart, #ar_charts_dashboard_line_chart, #ar_charts_dashboard_pie_chart, #ar_charts_dashboard_statistic
Methods included from Grid::Grid
#ar_styled_content_grid_item, #ar_styled_content_grid_large_section, #ar_styled_content_grid_small_section
Methods included from Maps::ConfirmLocation
Methods included from Maps::Map
Methods included from CoreForms::Question
#ar_core_forms_question_multiple_selection
Methods included from CoreForms::Form
#ar_core_forms_form_date, #ar_core_forms_form_email, #ar_core_forms_form_multiple_selection, #ar_core_forms_form_multiple_selection_options, #ar_core_forms_form_number, #ar_core_forms_form_password, #ar_core_forms_form_section, #ar_core_forms_form_text, #ar_core_forms_form_time
Methods included from Core::Stack
#ar_core_stack_button, #ar_core_stack_delete_button, #ar_core_stack_image, #ar_core_stack_link_button, #ar_core_stack_modal_workflow_button, #ar_core_stack_system_url_button, #ar_core_stack_text, #ar_core_stack_unsplash_image, #ar_core_stack_url_button, #ar_core_stack_video
Methods included from Core::List
#ar_core_list_item, #ar_core_list_search_suggestion
Instance Method Details
#camelcase_converter(string, first_letter: :upper) ⇒ Object
26 27 28 29 30 31 |
# File 'lib/app_rail/steps/displayable.rb', line 26 def camelcase_converter(string, first_letter: :upper) string = string.split("_").map(&:capitalize).join return string unless first_letter == :lower string[0].downcase + string[1..] end |