Class: Roda
- Inherits:
-
Object
- Object
- Roda
- Extended by:
- RodaPlugins::Base::ClassMethods
- Defined in:
- lib/roda.rb,
lib/roda/version.rb,
lib/roda/plugins/h.rb,
lib/roda/plugins/csrf.rb,
lib/roda/plugins/halt.rb,
lib/roda/plugins/head.rb,
lib/roda/plugins/json.rb,
lib/roda/plugins/pass.rb,
lib/roda/plugins/path.rb,
lib/roda/plugins/flash.rb,
lib/roda/plugins/hooks.rb,
lib/roda/plugins/assets.rb,
lib/roda/plugins/mailer.rb,
lib/roda/plugins/public.rb,
lib/roda/plugins/render.rb,
lib/roda/plugins/static.rb,
lib/roda/plugins/caching.rb,
lib/roda/plugins/chunked.rb,
lib/roda/plugins/cookies.rb,
lib/roda/plugins/delegate.rb,
lib/roda/plugins/partials.rb,
lib/roda/plugins/sessions.rb,
lib/roda/plugins/all_verbs.rb,
lib/roda/plugins/drop_body.rb,
lib/roda/plugins/heartbeat.rb,
lib/roda/plugins/multi_run.rb,
lib/roda/plugins/not_found.rb,
lib/roda/plugins/streaming.rb,
lib/roda/plugins/empty_root.rb,
lib/roda/plugins/error_mail.rb,
lib/roda/plugins/middleware.rb,
lib/roda/plugins/multi_view.rb,
lib/roda/plugins/route_csrf.rb,
lib/roda/plugins/status_303.rb,
lib/roda/plugins/_after_hook.rb,
lib/roda/plugins/content_for.rb,
lib/roda/plugins/delay_build.rb,
lib/roda/plugins/early_hints.rb,
lib/roda/plugins/error_email.rb,
lib/roda/plugins/json_parser.rb,
lib/roda/plugins/match_affix.rb,
lib/roda/plugins/multi_route.rb,
lib/roda/plugins/not_allowed.rb,
lib/roda/plugins/render_each.rb,
lib/roda/plugins/run_handler.rb,
lib/roda/plugins/shared_vars.rb,
lib/roda/plugins/_before_hook.rb,
lib/roda/plugins/environments.rb,
lib/roda/plugins/hash_matcher.rb,
lib/roda/plugins/request_aref.rb,
lib/roda/plugins/symbol_views.rb,
lib/roda/plugins/type_routing.rb,
lib/roda/plugins/view_options.rb,
lib/roda/plugins/branch_locals.rb,
lib/roda/plugins/common_logger.rb,
lib/roda/plugins/error_handler.rb,
lib/roda/plugins/path_matchers.rb,
lib/roda/plugins/path_rewriter.rb,
lib/roda/plugins/render_locals.rb,
lib/roda/plugins/symbol_status.rb,
lib/roda/plugins/unescape_path.rb,
lib/roda/plugins/class_matchers.rb,
lib/roda/plugins/default_status.rb,
lib/roda/plugins/exception_page.rb,
lib/roda/plugins/module_include.rb,
lib/roda/plugins/padrino_render.rb,
lib/roda/plugins/param_matchers.rb,
lib/roda/plugins/static_routing.rb,
lib/roda/plugins/status_handler.rb,
lib/roda/plugins/default_headers.rb,
lib/roda/plugins/header_matchers.rb,
lib/roda/plugins/named_templates.rb,
lib/roda/plugins/request_headers.rb,
lib/roda/plugins/sinatra_helpers.rb,
lib/roda/plugins/symbol_matchers.rb,
lib/roda/plugins/typecast_params.rb,
lib/roda/plugins/middleware_stack.rb,
lib/roda/plugins/params_capturing.rb,
lib/roda/plugins/response_request.rb,
lib/roda/plugins/run_append_slash.rb,
lib/roda/plugins/slash_path_empty.rb,
lib/roda/plugins/timestamp_public.rb,
lib/roda/plugins/assets_preloading.rb,
lib/roda/plugins/strip_path_prefix.rb,
lib/roda/plugins/backtracking_array.rb,
lib/roda/plugins/indifferent_params.rb,
lib/roda/plugins/class_level_routing.rb,
lib/roda/plugins/delete_empty_headers.rb,
lib/roda/plugins/precompile_templates.rb,
lib/roda/plugins/disallow_file_uploads.rb,
lib/roda/plugins/_symbol_regexp_matchers.rb,
lib/roda/plugins/content_security_policy.rb,
lib/roda/plugins/optimized_string_matchers.rb,
lib/roda/plugins/placeholder_string_matchers.rb
Overview
The main class for Roda. Roda is built completely out of plugins, with the default plugin being Roda::RodaPlugins::Base, so this class is mostly empty except for some constants.
Defined Under Namespace
Modules: RodaPlugins Classes: RodaCache, RodaError, RodaRequest, RodaResponse
Constant Summary collapse
- RodaMajorVersion =
The major version of Roda, updated only for major changes that are likely to require modification to Roda apps.
3
- RodaMinorVersion =
The minor version of Roda, updated for new feature releases of Roda.
14
- RodaPatchVersion =
The patch version of Roda, updated only for bug fixes from the last feature release.
0
- RodaVersion =
The full version of Roda as a string.
"#{RodaMajorVersion}.#{RodaMinorVersion}.#{RodaPatchVersion}".freeze
- RodaVersionNumber =
The full version of Roda as a number (3.7.0 => 30070)
RodaMajorVersion*10000 + RodaMinorVersion*10 + RodaPatchVersion
Instance Attribute Summary
Attributes included from RodaPlugins::Base::ClassMethods
#app, #inherit_middleware, #opts, #route_block
Method Summary
Methods included from RodaPlugins::Base::ClassMethods
call, clear_middleware!, expand_path, freeze, inherited, plugin, route, use