From 3950225d4faf5ad605db9d5995c98159484020f9 Mon Sep 17 00:00:00 2001 From: jwoertink Date: Mon, 4 Dec 2023 16:11:00 +0000 Subject: [PATCH] deploy: 62b60471ac860556a5fcafda56c7bf589c6c4df6 --- Bool.html | 2 +- Char.html | 4 +- Hash.html | 6 +- Int16.html | 4 +- Int32.html | 4 +- Int64.html | 4 +- Lucky.html | 28 ++++----- Lucky/Action.html | 12 ++-- Lucky/ActionPipes.html | 10 +-- Lucky/AllowedInTags.html | 2 +- Lucky/AssetHelpers.html | 10 +-- Lucky/Assignable.html | 8 +-- Lucky/BaseAppServer.html | 8 +-- Lucky/BaseComponent.html | 6 +- Lucky/BaseHTTPClient.html | 62 +++++++++---------- Lucky/BaseLogFormatter.html | 4 +- Lucky/BaseTags.html | 44 ++++++------- Lucky/CookieJar.html | 44 ++++++------- Lucky/CookieJar/HabitatSettings.html | 2 +- Lucky/CookieJar/Key.html | 2 +- Lucky/CookieNotFoundError.html | 12 ++-- Lucky/CookieOverflowError.html | 2 +- Lucky/CustomTags.html | 10 +-- Lucky/DataResponse.html | 22 +++---- Lucky/EnforceUnderscoredRoute.html | 4 +- Lucky/Error.html | 2 +- Lucky/ErrorAction.html | 18 +++--- Lucky/ErrorHandler.html | 12 ++-- Lucky/ErrorHandler/HabitatSettings.html | 2 +- Lucky/Events.html | 2 +- Lucky/Events/PipeEvent.html | 14 ++--- Lucky/Events/PipeEvent/Position.html | 6 +- Lucky/Events/RequestCompleteEvent.html | 6 +- Lucky/ExceptionPage.html | 6 +- Lucky/Exposable.html | 4 +- Lucky/FileResponse.html | 22 +++---- Lucky/FlashStore.html | 48 +++++++------- Lucky/FlashStore/Key.html | 2 +- Lucky/ForceSSLHandler.html | 10 +-- Lucky/ForceSSLHandler/HabitatSettings.html | 2 +- Lucky/ForgeryProtectionHelpers.html | 6 +- Lucky/FormData.html | 8 +-- Lucky/FormData/MultiValueStorage.html | 12 ++-- Lucky/FormHelpers.html | 14 ++--- Lucky/FormHelpers/HabitatSettings.html | 2 +- Lucky/HTMLBuilder.html | 6 +- Lucky/HTMLPage.html | 12 ++-- Lucky/HTMLPage/HabitatSettings.html | 2 +- Lucky/HTMLTextHelpers.html | 18 +++--- Lucky/HttpMethodOverrideHandler.html | 4 +- Lucky/InvalidCookieValueError.html | 8 +-- Lucky/InvalidFlashJSONError.html | 8 +-- Lucky/InvalidMessageError.html | 2 +- Lucky/InvalidParamError.html | 16 ++--- Lucky/InvalidSignatureError.html | 2 +- Lucky/InvalidSubdomainError.html | 6 +- Lucky/LinkHelpers.html | 20 +++--- Lucky/LiveReloadTag.html | 4 +- Lucky/LogHandler.html | 14 ++--- Lucky/LogHandler/HabitatSettings.html | 2 +- Lucky/LoggerHelpers.html | 6 +- Lucky/Memoizable.html | 4 +- Lucky/MessageEncryptor.html | 16 ++--- .../InvalidSecretKeyBase.html | 2 +- Lucky/MessageVerifier.html | 14 ++--- Lucky/MissingFileError.html | 8 +-- Lucky/MissingNestedParamError.html | 12 ++-- Lucky/MissingParamError.html | 12 ++-- Lucky/MountComponent.html | 10 +-- Lucky/NotAcceptableError.html | 10 +-- Lucky/NumberToCurrency.html | 4 +- Lucky/Paginator.html | 38 ++++++------ Lucky/Paginator/BackendHelpers.html | 8 +-- Lucky/Paginator/BootstrapNav.html | 18 +++--- Lucky/Paginator/BulmaNav.html | 18 +++--- Lucky/Paginator/CurrentPage.html | 2 +- Lucky/Paginator/Page.html | 10 +-- Lucky/Paginator/SeriesItem.html | 2 +- Lucky/Paginator/SimpleNav.html | 18 +++--- Lucky/ParamHelpers.html | 8 +-- Lucky/ParamParser.html | 20 +++--- Lucky/ParamParsingError.html | 10 +-- Lucky/Params.html | 62 +++++++++---------- Lucky/PrettyLogFormatter.html | 4 +- Lucky/ProtectFromForgery.html | 8 +-- Lucky/ProtectFromForgery/HabitatSettings.html | 2 +- Lucky/QuickDef.html | 4 +- Lucky/Redirectable.html | 24 +++---- Lucky/Redirectable/HabitatSettings.html | 2 +- Lucky/RedirectableTurbolinksSupport.html | 4 +- Lucky/RemoteIpHandler.html | 10 +-- Lucky/RemoteIpHandler/HabitatSettings.html | 2 +- Lucky/RenderIfDefined.html | 4 +- Lucky/Renderable.html | 48 +++++++------- Lucky/RenderableError.html | 6 +- Lucky/RequestExpectations.html | 4 +- Lucky/RequestIdHandler.html | 10 +-- Lucky/RequestIdHandler/HabitatSettings.html | 2 +- Lucky/RequestTypeHelpers.html | 18 +++--- Lucky/Response.html | 6 +- Lucky/Routable.html | 26 ++++---- Lucky/RouteHandler.html | 4 +- Lucky/RouteHelper.html | 18 +++--- Lucky/RouteHelper/HabitatSettings.html | 2 +- Lucky/RouteInferrer.html | 10 +-- Lucky/RouteNotFoundError.html | 6 +- Lucky/RouteNotFoundHandler.html | 8 +-- Lucky/SecureHeaders.html | 10 +-- Lucky/SecureHeaders/DisableFLoC.html | 2 +- Lucky/SecureHeaders/SetCSPGuard.html | 4 +- Lucky/SecureHeaders/SetFrameGuard.html | 4 +- Lucky/SecureHeaders/SetSniffGuard.html | 2 +- Lucky/SecureHeaders/SetXSSGuard.html | 2 +- Lucky/Serializer.html | 6 +- Lucky/Server.html | 8 +-- Lucky/Server/HabitatSettings.html | 2 +- Lucky/ServerSettings.html | 10 +-- Lucky/Session.html | 26 ++++---- Lucky/Session/HabitatSettings.html | 2 +- Lucky/Session/Key.html | 2 +- Lucky/SkipRouteStyleCheck.html | 4 +- Lucky/SpecialtyTags.html | 18 +++--- Lucky/StaticCompressionHandler.html | 6 +- Lucky/StaticFileHandler.html | 4 +- Lucky/Subdomain.html | 10 +-- Lucky/Subdomain/HabitatSettings.html | 2 +- Lucky/Subdomain/Matcher.html | 2 +- Lucky/SvgInliner.html | 6 +- Lucky/SvgInliner/Path.html | 2 +- Lucky/SvgInliner/StripRegex.html | 2 +- Lucky/TagDefaults.html | 4 +- Lucky/TagDefaults/OptionMerger.html | 8 +-- Lucky/TextHelpers.html | 22 +++---- Lucky/TextHelpers/Cycle.html | 14 ++--- Lucky/TextResponse.html | 18 +++--- Lucky/TimeHelpers.html | 8 +-- Lucky/UnknownAcceptHeaderError.html | 10 +-- Lucky/UploadedFile.html | 34 +++++----- Lucky/UrlHelpers.html | 8 +-- Lucky/VerifyAcceptsFormat.html | 8 +-- Lucky/WelcomePage.html | 8 +-- Nil.html | 4 +- Object.html | 6 +- String.html | 6 +- UUID.html | 4 +- index.json | 2 +- search-index.js | 2 +- 147 files changed, 742 insertions(+), 742 deletions(-) diff --git a/Bool.html b/Bool.html index 60b936ee5..d328bd6ad 100644 --- a/Bool.html +++ b/Bool.html @@ -977,7 +977,7 @@

- + charms/bool_extensions.cr diff --git a/Char.html b/Char.html index 9c7db100e..7acef00c9 100644 --- a/Char.html +++ b/Char.html @@ -997,7 +997,7 @@

- + charms/object.cr @@ -1116,7 +1116,7 @@


- [View source] + [View source]
diff --git a/Hash.html b/Hash.html index 4214e0ae7..7000f5f07 100644 --- a/Hash.html +++ b/Hash.html @@ -996,7 +996,7 @@

- + charms/hash_extensions.cr @@ -1136,7 +1136,7 @@


- [View source] + [View source]
@@ -1165,7 +1165,7 @@


- [View source] + [View source]
diff --git a/Int16.html b/Int16.html index 0fedd41f1..3d504d152 100644 --- a/Int16.html +++ b/Int16.html @@ -963,7 +963,7 @@

- + charms/int16_extensions.cr @@ -1112,7 +1112,7 @@


- [View source] + [View source]
diff --git a/Int32.html b/Int32.html index 7ee3c06ad..b441abf59 100644 --- a/Int32.html +++ b/Int32.html @@ -963,7 +963,7 @@

- + charms/int32_extensions.cr @@ -1112,7 +1112,7 @@


- [View source] + [View source]
diff --git a/Int64.html b/Int64.html index c6a872628..04d9b876c 100644 --- a/Int64.html +++ b/Int64.html @@ -963,7 +963,7 @@

- + charms/int64_extensions.cr @@ -1112,7 +1112,7 @@


- [View source] + [View source]
diff --git a/Lucky.html b/Lucky.html index 224ce907c..91389e5b8 100644 --- a/Lucky.html +++ b/Lucky.html @@ -947,77 +947,77 @@

- + lucky.cr
- + lucky/errors.cr
- + lucky/memoizable.cr
- + lucky/secure_headers/disable_floc.cr
- + lucky/secure_headers/set_csp_guard.cr
- + lucky/secure_headers/set_frame_guard.cr
- + lucky/secure_headers/set_sniff_guard.cr
- + lucky/secure_headers/set_xss_guard.cr
- + lucky/support/message_encryptor.cr
- + lucky/support/message_verifier.cr
- + lucky/version.cr @@ -1146,7 +1146,7 @@


- [View source] + [View source]
@@ -1162,7 +1162,7 @@


- [View source] + [View source]
@@ -1192,7 +1192,7 @@


- [View source] + [View source]
diff --git a/Lucky/Action.html b/Lucky/Action.html index 2c4fbc148..21022fcab 100644 --- a/Lucky/Action.html +++ b/Lucky/Action.html @@ -979,7 +979,7 @@

- + lucky/action.cr @@ -1505,7 +1505,7 @@


- [View source] + [View source]
@@ -1533,7 +1533,7 @@


- [View source] + [View source]
@@ -1575,7 +1575,7 @@


- [View source] + [View source]
@@ -1591,7 +1591,7 @@


- [View source] + [View source]
@@ -1719,7 +1719,7 @@


- [View source] + [View source]
diff --git a/Lucky/ActionPipes.html b/Lucky/ActionPipes.html index 2c1b21e3f..d45ea5211 100644 --- a/Lucky/ActionPipes.html +++ b/Lucky/ActionPipes.html @@ -961,7 +961,7 @@

- + lucky/action_pipes.cr @@ -1066,7 +1066,7 @@


- [View source] + [View source]
@@ -1116,7 +1116,7 @@


- [View source] + [View source]
@@ -1161,7 +1161,7 @@


- [View source] + [View source]
@@ -1183,7 +1183,7 @@


- [View source] + [View source]
diff --git a/Lucky/AllowedInTags.html b/Lucky/AllowedInTags.html index c2185e6f6..47e055c24 100644 --- a/Lucky/AllowedInTags.html +++ b/Lucky/AllowedInTags.html @@ -996,7 +996,7 @@

- + lucky/allowed_in_tags.cr diff --git a/Lucky/AssetHelpers.html b/Lucky/AssetHelpers.html index 853ab933b..2f20810bd 100644 --- a/Lucky/AssetHelpers.html +++ b/Lucky/AssetHelpers.html @@ -975,7 +975,7 @@

- + lucky/asset_helpers.cr @@ -1111,7 +1111,7 @@


- [View source] + [View source]
@@ -1156,7 +1156,7 @@


- [View source] + [View source]
@@ -1172,7 +1172,7 @@


- [View source] + [View source]
@@ -1194,7 +1194,7 @@


- [View source] + [View source]
diff --git a/Lucky/Assignable.html b/Lucky/Assignable.html index 4ac8e83dd..aa4d76cf5 100644 --- a/Lucky/Assignable.html +++ b/Lucky/Assignable.html @@ -961,7 +961,7 @@

- + lucky/assignable.cr @@ -1100,7 +1100,7 @@


- [View source] + [View source]
@@ -1141,7 +1141,7 @@


- [View source] + [View source]
@@ -1157,7 +1157,7 @@


- [View source] + [View source]
diff --git a/Lucky/BaseAppServer.html b/Lucky/BaseAppServer.html index d51e0c3ec..3884d3025 100644 --- a/Lucky/BaseAppServer.html +++ b/Lucky/BaseAppServer.html @@ -960,7 +960,7 @@

- + lucky/base_app_server.cr @@ -1077,7 +1077,7 @@


- [View source] + [View source]
@@ -1107,7 +1107,7 @@


- [View source] + [View source]
@@ -1123,7 +1123,7 @@


- [View source] + [View source]
diff --git a/Lucky/BaseComponent.html b/Lucky/BaseComponent.html index dbc0c4f17..1dd157770 100644 --- a/Lucky/BaseComponent.html +++ b/Lucky/BaseComponent.html @@ -981,7 +981,7 @@

- + lucky/base_component.cr @@ -2180,7 +2180,7 @@


- [View source] + [View source]
@@ -2196,7 +2196,7 @@


- [View source] + [View source]
diff --git a/Lucky/BaseHTTPClient.html b/Lucky/BaseHTTPClient.html index bac8b6d0b..0f1b05e13 100644 --- a/Lucky/BaseHTTPClient.html +++ b/Lucky/BaseHTTPClient.html @@ -961,7 +961,7 @@

- + lucky/base_http_client.cr @@ -1237,7 +1237,7 @@


- [View source] + [View source]
@@ -1265,7 +1265,7 @@


- [View source] + [View source]
@@ -1281,7 +1281,7 @@


- [View source] + [View source]
@@ -1297,7 +1297,7 @@


- [View source] + [View source]
@@ -1313,7 +1313,7 @@


- [View source] + [View source]
@@ -1329,7 +1329,7 @@


- [View source] + [View source]
@@ -1345,7 +1345,7 @@


- [View source] + [View source]
@@ -1361,7 +1361,7 @@


- [View source] + [View source]
@@ -1377,7 +1377,7 @@


- [View source] + [View source]
@@ -1393,7 +1393,7 @@


- [View source] + [View source]
@@ -1421,7 +1421,7 @@


- [View source] + [View source]
@@ -1437,7 +1437,7 @@


- [View source] + [View source]
@@ -1458,7 +1458,7 @@


- [View source] + [View source]
@@ -1487,7 +1487,7 @@


- [View source] + [View source]
@@ -1508,7 +1508,7 @@


- [View source] + [View source]
@@ -1531,7 +1531,7 @@


- [View source] + [View source]
@@ -1552,7 +1552,7 @@


- [View source] + [View source]
@@ -1568,7 +1568,7 @@


- [View source] + [View source]
@@ -1584,7 +1584,7 @@


- [View source] + [View source]
@@ -1600,7 +1600,7 @@


- [View source] + [View source]
@@ -1616,7 +1616,7 @@


- [View source] + [View source]
@@ -1656,7 +1656,7 @@


- [View source] + [View source]
@@ -1672,7 +1672,7 @@


- [View source] + [View source]
@@ -1688,7 +1688,7 @@


- [View source] + [View source]
@@ -1704,7 +1704,7 @@


- [View source] + [View source]
@@ -1720,7 +1720,7 @@


- [View source] + [View source]
@@ -1736,7 +1736,7 @@


- [View source] + [View source]
@@ -1752,7 +1752,7 @@


- [View source] + [View source]
@@ -1768,7 +1768,7 @@


- [View source] + [View source]
@@ -1784,7 +1784,7 @@


- [View source] + [View source]
diff --git a/Lucky/BaseLogFormatter.html b/Lucky/BaseLogFormatter.html index cf5fdb8ae..78e5e2857 100644 --- a/Lucky/BaseLogFormatter.html +++ b/Lucky/BaseLogFormatter.html @@ -949,7 +949,7 @@

- + lucky/base_log_formatter.cr @@ -1048,7 +1048,7 @@


- [View source] + [View source]
diff --git a/Lucky/BaseTags.html b/Lucky/BaseTags.html index c3913dc25..f933fd887 100644 --- a/Lucky/BaseTags.html +++ b/Lucky/BaseTags.html @@ -975,7 +975,7 @@

- + lucky/tags/base_tags.cr @@ -6745,7 +6745,7 @@


- [View source] + [View source]
@@ -6766,7 +6766,7 @@


- [View source] + [View source]
@@ -6782,7 +6782,7 @@


- [View source] + [View source]
@@ -10621,7 +10621,7 @@


- [View source] + [View source]
@@ -10642,7 +10642,7 @@


- [View source] + [View source]
@@ -10658,7 +10658,7 @@


- [View source] + [View source]
@@ -11053,7 +11053,7 @@


- [View source] + [View source]
@@ -11074,7 +11074,7 @@


- [View source] + [View source]
@@ -11090,7 +11090,7 @@


- [View source] + [View source]
@@ -11116,7 +11116,7 @@


- [View source] + [View source]
@@ -11137,7 +11137,7 @@


- [View source] + [View source]
@@ -11153,7 +11153,7 @@


- [View source] + [View source]
@@ -12286,7 +12286,7 @@


- [View source] + [View source]
@@ -12307,7 +12307,7 @@


- [View source] + [View source]
@@ -12323,7 +12323,7 @@


- [View source] + [View source]
@@ -15301,7 +15301,7 @@


- [View source] + [View source]
@@ -15322,7 +15322,7 @@


- [View source] + [View source]
@@ -15338,7 +15338,7 @@


- [View source] + [View source]
@@ -15606,7 +15606,7 @@


- [View source] + [View source]
@@ -16490,7 +16490,7 @@


- [View source] + [View source]
@@ -17994,7 +17994,7 @@


- [View source] + [View source]
diff --git a/Lucky/CookieJar.html b/Lucky/CookieJar.html index 34d7cef3e..b68ae6027 100644 --- a/Lucky/CookieJar.html +++ b/Lucky/CookieJar.html @@ -965,7 +965,7 @@

- + lucky/cookies/cookie_jar.cr @@ -1233,7 +1233,7 @@


- [View source] + [View source]
@@ -1249,7 +1249,7 @@


- [View source] + [View source]
@@ -1265,7 +1265,7 @@


- [View source] + [View source]
@@ -1281,7 +1281,7 @@


- [View source] + [View source]
@@ -1309,7 +1309,7 @@


- [View source] + [View source]
@@ -1325,7 +1325,7 @@


- [View source] + [View source]
@@ -1341,7 +1341,7 @@


- [View source] + [View source]
@@ -1362,7 +1362,7 @@


- [View source] + [View source]
@@ -1388,7 +1388,7 @@


- [View source] + [View source]
@@ -1414,7 +1414,7 @@


- [View source] + [View source]
@@ -1436,7 +1436,7 @@


- [View source] + [View source]
@@ -1458,7 +1458,7 @@


- [View source] + [View source]
@@ -1474,7 +1474,7 @@


- [View source] + [View source]
@@ -1490,7 +1490,7 @@


- [View source] + [View source]
@@ -1506,7 +1506,7 @@


- [View source] + [View source]
@@ -1522,7 +1522,7 @@


- [View source] + [View source]
@@ -1538,7 +1538,7 @@


- [View source] + [View source]
@@ -1554,7 +1554,7 @@


- [View source] + [View source]
@@ -1570,7 +1570,7 @@


- [View source] + [View source]
@@ -1586,7 +1586,7 @@


- [View source] + [View source]
@@ -1602,7 +1602,7 @@


- [View source] + [View source]
diff --git a/Lucky/CookieJar/HabitatSettings.html b/Lucky/CookieJar/HabitatSettings.html index e6de21339..9741e9f4b 100644 --- a/Lucky/CookieJar/HabitatSettings.html +++ b/Lucky/CookieJar/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/cookies/cookie_jar.cr diff --git a/Lucky/CookieJar/Key.html b/Lucky/CookieJar/Key.html index f32b9a219..ae24f980f 100644 --- a/Lucky/CookieJar/Key.html +++ b/Lucky/CookieJar/Key.html @@ -957,7 +957,7 @@

- + lucky/cookies/cookie_jar.cr diff --git a/Lucky/CookieNotFoundError.html b/Lucky/CookieNotFoundError.html index 4ef2a3ae8..0d70ca060 100644 --- a/Lucky/CookieNotFoundError.html +++ b/Lucky/CookieNotFoundError.html @@ -974,7 +974,7 @@

- + lucky/errors.cr @@ -1145,7 +1145,7 @@


- [View source] + [View source]
@@ -1175,7 +1175,7 @@


- [View source] + [View source]
@@ -1191,7 +1191,7 @@


- [View source] + [View source]
@@ -1207,7 +1207,7 @@


- [View source] + [View source]
@@ -1223,7 +1223,7 @@


- [View source] + [View source]
diff --git a/Lucky/CookieOverflowError.html b/Lucky/CookieOverflowError.html index 6a39181b7..f133c2442 100644 --- a/Lucky/CookieOverflowError.html +++ b/Lucky/CookieOverflowError.html @@ -960,7 +960,7 @@

- + lucky/errors.cr diff --git a/Lucky/CustomTags.html b/Lucky/CustomTags.html index 5505a9c40..8e72d3226 100644 --- a/Lucky/CustomTags.html +++ b/Lucky/CustomTags.html @@ -975,7 +975,7 @@

- + lucky/tags/custom_tags.cr @@ -1092,7 +1092,7 @@


- [View source] + [View source]
@@ -1108,7 +1108,7 @@


- [View source] + [View source]
@@ -1124,7 +1124,7 @@


- [View source] + [View source]
@@ -1140,7 +1140,7 @@


- [View source] + [View source]
diff --git a/Lucky/DataResponse.html b/Lucky/DataResponse.html index 028795fba..2de0daedd 100644 --- a/Lucky/DataResponse.html +++ b/Lucky/DataResponse.html @@ -963,7 +963,7 @@

- + lucky/data_response.cr @@ -1158,7 +1158,7 @@


- [View source] + [View source]
@@ -1188,7 +1188,7 @@


- [View source] + [View source]
@@ -1204,7 +1204,7 @@


- [View source] + [View source]
@@ -1220,7 +1220,7 @@


- [View source] + [View source]
@@ -1236,7 +1236,7 @@


- [View source] + [View source]
@@ -1252,7 +1252,7 @@


- [View source] + [View source]
@@ -1268,7 +1268,7 @@


- [View source] + [View source]
@@ -1284,7 +1284,7 @@


- [View source] + [View source]
@@ -1300,7 +1300,7 @@


- [View source] + [View source]
@@ -1316,7 +1316,7 @@


- [View source] + [View source]
diff --git a/Lucky/EnforceUnderscoredRoute.html b/Lucky/EnforceUnderscoredRoute.html index 33ef76afc..94e9dfe6b 100644 --- a/Lucky/EnforceUnderscoredRoute.html +++ b/Lucky/EnforceUnderscoredRoute.html @@ -960,7 +960,7 @@

- + lucky/enforce_underscored_route.cr @@ -1027,7 +1027,7 @@


- [View source] + [View source]
diff --git a/Lucky/Error.html b/Lucky/Error.html index 5e54c327f..84ec5f209 100644 --- a/Lucky/Error.html +++ b/Lucky/Error.html @@ -1003,7 +1003,7 @@

- + lucky/errors.cr diff --git a/Lucky/ErrorAction.html b/Lucky/ErrorAction.html index 81ed41dd7..6fdc7e585 100644 --- a/Lucky/ErrorAction.html +++ b/Lucky/ErrorAction.html @@ -971,7 +971,7 @@

- + lucky/error_action.cr @@ -1385,7 +1385,7 @@


- [View source] + [View source]
@@ -1415,7 +1415,7 @@


- [View source] + [View source]
@@ -1431,7 +1431,7 @@


- [View source] + [View source]
@@ -1475,7 +1475,7 @@


- [View source] + [View source]
@@ -1519,7 +1519,7 @@


- [View source] + [View source]
@@ -1535,7 +1535,7 @@


- [View source] + [View source]
@@ -1551,7 +1551,7 @@


- [View source] + [View source]
@@ -1663,7 +1663,7 @@


- [View source] + [View source]
diff --git a/Lucky/ErrorHandler.html b/Lucky/ErrorHandler.html index 2ff35ae76..b6501097e 100644 --- a/Lucky/ErrorHandler.html +++ b/Lucky/ErrorHandler.html @@ -967,7 +967,7 @@

- + lucky/error_handler.cr @@ -1155,7 +1155,7 @@


- [View source] + [View source]
@@ -1183,7 +1183,7 @@


- [View source] + [View source]
@@ -1199,7 +1199,7 @@


- [View source] + [View source]
@@ -1227,7 +1227,7 @@


- [View source] + [View source]
@@ -1243,7 +1243,7 @@


- [View source] + [View source]
diff --git a/Lucky/ErrorHandler/HabitatSettings.html b/Lucky/ErrorHandler/HabitatSettings.html index 7769fc3bd..75439d598 100644 --- a/Lucky/ErrorHandler/HabitatSettings.html +++ b/Lucky/ErrorHandler/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/error_handler.cr diff --git a/Lucky/Events.html b/Lucky/Events.html index fc391990d..56b29c120 100644 --- a/Lucky/Events.html +++ b/Lucky/Events.html @@ -947,7 +947,7 @@

- + lucky/events/pipe_event.cr diff --git a/Lucky/Events/PipeEvent.html b/Lucky/Events/PipeEvent.html index f8cc4c0fe..502341be7 100644 --- a/Lucky/Events/PipeEvent.html +++ b/Lucky/Events/PipeEvent.html @@ -949,7 +949,7 @@

- + lucky/events/pipe_event.cr @@ -1136,7 +1136,7 @@


- [View source] + [View source]
@@ -1214,7 +1214,7 @@


- [View source] + [View source]
@@ -1230,7 +1230,7 @@


- [View source] + [View source]
@@ -1246,7 +1246,7 @@


- [View source] + [View source]
@@ -1273,7 +1273,7 @@


- [View source] + [View source]
@@ -1289,7 +1289,7 @@


- [View source] + [View source]
diff --git a/Lucky/Events/PipeEvent/Position.html b/Lucky/Events/PipeEvent/Position.html index 0931012aa..133ed5a05 100644 --- a/Lucky/Events/PipeEvent/Position.html +++ b/Lucky/Events/PipeEvent/Position.html @@ -947,7 +947,7 @@

- + lucky/events/pipe_event.cr @@ -1095,7 +1095,7 @@


- [View source] + [View source]
@@ -1111,7 +1111,7 @@


- [View source] + [View source]
diff --git a/Lucky/Events/RequestCompleteEvent.html b/Lucky/Events/RequestCompleteEvent.html index ac5417eeb..73e6b8bf5 100644 --- a/Lucky/Events/RequestCompleteEvent.html +++ b/Lucky/Events/RequestCompleteEvent.html @@ -949,7 +949,7 @@

- + lucky/events/request_complete_event.cr @@ -1114,7 +1114,7 @@


- [View source] + [View source]
@@ -1192,7 +1192,7 @@


- [View source] + [View source]
diff --git a/Lucky/ExceptionPage.html b/Lucky/ExceptionPage.html index 404a2ccd3..5c8aa5069 100644 --- a/Lucky/ExceptionPage.html +++ b/Lucky/ExceptionPage.html @@ -949,7 +949,7 @@

- + lucky/exception_page.cr @@ -1084,7 +1084,7 @@


- [View source] + [View source]
@@ -1100,7 +1100,7 @@


- [View source] + [View source]
diff --git a/Lucky/Exposable.html b/Lucky/Exposable.html index 9f584bfdd..49fbd273d 100644 --- a/Lucky/Exposable.html +++ b/Lucky/Exposable.html @@ -963,7 +963,7 @@

- + lucky/exposable.cr @@ -1104,7 +1104,7 @@

View source] + [View source] diff --git a/Lucky/FileResponse.html b/Lucky/FileResponse.html index 7e833e81b..c00c76513 100644 --- a/Lucky/FileResponse.html +++ b/Lucky/FileResponse.html @@ -991,7 +991,7 @@

- + lucky/file_response.cr @@ -1186,7 +1186,7 @@


- [View source] + [View source]
@@ -1216,7 +1216,7 @@


- [View source] + [View source]
@@ -1232,7 +1232,7 @@


- [View source] + [View source]
@@ -1248,7 +1248,7 @@


- [View source] + [View source]
@@ -1264,7 +1264,7 @@


- [View source] + [View source]
@@ -1280,7 +1280,7 @@


- [View source] + [View source]
@@ -1296,7 +1296,7 @@


- [View source] + [View source]
@@ -1312,7 +1312,7 @@


- [View source] + [View source]
@@ -1328,7 +1328,7 @@


- [View source] + [View source]
@@ -1344,7 +1344,7 @@


- [View source] + [View source]
diff --git a/Lucky/FlashStore.html b/Lucky/FlashStore.html index 49d45e074..d12ebed90 100644 --- a/Lucky/FlashStore.html +++ b/Lucky/FlashStore.html @@ -949,7 +949,7 @@

- + lucky/cookies/flash_store.cr @@ -1187,7 +1187,7 @@


- [View source] + [View source]
@@ -1215,7 +1215,7 @@


- [View source] + [View source]
@@ -1231,7 +1231,7 @@


- [View source] + [View source]
@@ -1247,7 +1247,7 @@


- [View source] + [View source]
@@ -1263,7 +1263,7 @@


- [View source] + [View source]
@@ -1279,7 +1279,7 @@


- [View source] + [View source]
@@ -1295,7 +1295,7 @@


- [View source] + [View source]
@@ -1311,7 +1311,7 @@


- [View source] + [View source]
@@ -1327,7 +1327,7 @@


- [View source] + [View source]
@@ -1343,7 +1343,7 @@


- [View source] + [View source]
@@ -1359,7 +1359,7 @@


- [View source] + [View source]
@@ -1375,7 +1375,7 @@


- [View source] + [View source]
@@ -1391,7 +1391,7 @@


- [View source] + [View source]
@@ -1407,7 +1407,7 @@


- [View source] + [View source]
@@ -1423,7 +1423,7 @@


- [View source] + [View source]
@@ -1439,7 +1439,7 @@


- [View source] + [View source]
@@ -1455,7 +1455,7 @@


- [View source] + [View source]
@@ -1471,7 +1471,7 @@


- [View source] + [View source]
@@ -1487,7 +1487,7 @@


- [View source] + [View source]
@@ -1503,7 +1503,7 @@


- [View source] + [View source]
@@ -1519,7 +1519,7 @@


- [View source] + [View source]
@@ -1535,7 +1535,7 @@


- [View source] + [View source]
@@ -1551,7 +1551,7 @@


- [View source] + [View source]
diff --git a/Lucky/FlashStore/Key.html b/Lucky/FlashStore/Key.html index 41f90cc4f..a1406c724 100644 --- a/Lucky/FlashStore/Key.html +++ b/Lucky/FlashStore/Key.html @@ -957,7 +957,7 @@

- + lucky/cookies/flash_store.cr diff --git a/Lucky/ForceSSLHandler.html b/Lucky/ForceSSLHandler.html index 404675287..1bc3cdef6 100644 --- a/Lucky/ForceSSLHandler.html +++ b/Lucky/ForceSSLHandler.html @@ -986,7 +986,7 @@

- + lucky/force_ssl_handler.cr @@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1175,7 +1175,7 @@


- [View source] + [View source]
@@ -1203,7 +1203,7 @@


- [View source] + [View source]
@@ -1219,7 +1219,7 @@


- [View source] + [View source]
diff --git a/Lucky/ForceSSLHandler/HabitatSettings.html b/Lucky/ForceSSLHandler/HabitatSettings.html index c14cc8a32..a6d143dcc 100644 --- a/Lucky/ForceSSLHandler/HabitatSettings.html +++ b/Lucky/ForceSSLHandler/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/force_ssl_handler.cr diff --git a/Lucky/ForgeryProtectionHelpers.html b/Lucky/ForgeryProtectionHelpers.html index 6792cdf74..bf41d8088 100644 --- a/Lucky/ForgeryProtectionHelpers.html +++ b/Lucky/ForgeryProtectionHelpers.html @@ -961,7 +961,7 @@

- + lucky/tags/forgery_protection_helpers.cr @@ -1044,7 +1044,7 @@


- [View source] + [View source]
@@ -1068,7 +1068,7 @@


- [View source] + [View source]
diff --git a/Lucky/FormData.html b/Lucky/FormData.html index 6caae5081..a37dfe7aa 100644 --- a/Lucky/FormData.html +++ b/Lucky/FormData.html @@ -949,7 +949,7 @@

- + lucky/form_data.cr @@ -1058,7 +1058,7 @@


- [View source] + [View source]
@@ -1074,7 +1074,7 @@


- [View source] + [View source]
@@ -1090,7 +1090,7 @@


- [View source] + [View source]
diff --git a/Lucky/FormData/MultiValueStorage.html b/Lucky/FormData/MultiValueStorage.html index 42ebb8a29..8a71d884e 100644 --- a/Lucky/FormData/MultiValueStorage.html +++ b/Lucky/FormData/MultiValueStorage.html @@ -974,7 +974,7 @@

- + lucky/form_data.cr @@ -1113,7 +1113,7 @@


- [View source] + [View source]
@@ -1143,7 +1143,7 @@


- [View source] + [View source]
@@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1184,7 +1184,7 @@


- [View source] + [View source]
@@ -1200,7 +1200,7 @@


- [View source] + [View source]
diff --git a/Lucky/FormHelpers.html b/Lucky/FormHelpers.html index a0926e54b..ac1e572f6 100644 --- a/Lucky/FormHelpers.html +++ b/Lucky/FormHelpers.html @@ -977,7 +977,7 @@

- + lucky/tags/form_helpers.cr @@ -1116,7 +1116,7 @@


- [View source] + [View source]
@@ -1132,7 +1132,7 @@


- [View source] + [View source]
@@ -1160,7 +1160,7 @@


- [View source] + [View source]
@@ -1176,7 +1176,7 @@


- [View source] + [View source]
@@ -1192,7 +1192,7 @@


- [View source] + [View source]
@@ -1208,7 +1208,7 @@


- [View source] + [View source]
diff --git a/Lucky/FormHelpers/HabitatSettings.html b/Lucky/FormHelpers/HabitatSettings.html index 129660928..32189168d 100644 --- a/Lucky/FormHelpers/HabitatSettings.html +++ b/Lucky/FormHelpers/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/tags/form_helpers.cr diff --git a/Lucky/HTMLBuilder.html b/Lucky/HTMLBuilder.html index 415dc5aed..6eee6917a 100644 --- a/Lucky/HTMLBuilder.html +++ b/Lucky/HTMLBuilder.html @@ -1013,7 +1013,7 @@

- + lucky/html_builder.cr @@ -2186,7 +2186,7 @@


- [View source] + [View source]
@@ -2202,7 +2202,7 @@


- [View source] + [View source]
diff --git a/Lucky/HTMLPage.html b/Lucky/HTMLPage.html index 0e9d15e13..a12841e78 100644 --- a/Lucky/HTMLPage.html +++ b/Lucky/HTMLPage.html @@ -979,7 +979,7 @@

- + lucky/html_page.cr @@ -2240,7 +2240,7 @@


- [View source] + [View source]
@@ -2256,7 +2256,7 @@


- [View source] + [View source]
@@ -2298,7 +2298,7 @@


- [View source] + [View source]
@@ -2314,7 +2314,7 @@


- [View source] + [View source]
@@ -2330,7 +2330,7 @@


- [View source] + [View source]
diff --git a/Lucky/HTMLPage/HabitatSettings.html b/Lucky/HTMLPage/HabitatSettings.html index 3924f8787..f8834203e 100644 --- a/Lucky/HTMLPage/HabitatSettings.html +++ b/Lucky/HTMLPage/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/html_page.cr diff --git a/Lucky/HTMLTextHelpers.html b/Lucky/HTMLTextHelpers.html index d3c0dffda..c145a89be 100644 --- a/Lucky/HTMLTextHelpers.html +++ b/Lucky/HTMLTextHelpers.html @@ -972,7 +972,7 @@

- + lucky/page_helpers/html_text_helpers.cr @@ -1103,7 +1103,7 @@


- [View source] + [View source]
@@ -1127,7 +1127,7 @@


- [View source] + [View source]
@@ -1143,7 +1143,7 @@


- [View source] + [View source]
@@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1192,7 +1192,7 @@


- [View source] + [View source]
@@ -1220,7 +1220,7 @@


- [View source] + [View source]
@@ -1264,7 +1264,7 @@


- [View source] + [View source]
@@ -1280,7 +1280,7 @@


- [View source] + [View source]
diff --git a/Lucky/HttpMethodOverrideHandler.html b/Lucky/HttpMethodOverrideHandler.html index d80a1db20..92bc05f84 100644 --- a/Lucky/HttpMethodOverrideHandler.html +++ b/Lucky/HttpMethodOverrideHandler.html @@ -963,7 +963,7 @@

- + lucky/http_method_override_handler.cr @@ -1072,7 +1072,7 @@


- [View source] + [View source]
diff --git a/Lucky/InvalidCookieValueError.html b/Lucky/InvalidCookieValueError.html index c62e5f70d..69375ef84 100644 --- a/Lucky/InvalidCookieValueError.html +++ b/Lucky/InvalidCookieValueError.html @@ -961,7 +961,7 @@

- + lucky/errors.cr @@ -1098,7 +1098,7 @@


- [View source] + [View source]
@@ -1128,7 +1128,7 @@


- [View source] + [View source]
@@ -1144,7 +1144,7 @@


- [View source] + [View source]
diff --git a/Lucky/InvalidFlashJSONError.html b/Lucky/InvalidFlashJSONError.html index e66a7db7a..5bad11fe5 100644 --- a/Lucky/InvalidFlashJSONError.html +++ b/Lucky/InvalidFlashJSONError.html @@ -949,7 +949,7 @@

- + lucky/errors.cr @@ -1086,7 +1086,7 @@


- [View source] + [View source]
@@ -1116,7 +1116,7 @@


- [View source] + [View source]
@@ -1132,7 +1132,7 @@


- [View source] + [View source]
diff --git a/Lucky/InvalidMessageError.html b/Lucky/InvalidMessageError.html index b1c1f3853..c94133de4 100644 --- a/Lucky/InvalidMessageError.html +++ b/Lucky/InvalidMessageError.html @@ -949,7 +949,7 @@

- + lucky/errors.cr diff --git a/Lucky/InvalidParamError.html b/Lucky/InvalidParamError.html index 66650ed40..7492b46f5 100644 --- a/Lucky/InvalidParamError.html +++ b/Lucky/InvalidParamError.html @@ -963,7 +963,7 @@

- + lucky/errors.cr @@ -1144,7 +1144,7 @@


- [View source] + [View source]
@@ -1174,7 +1174,7 @@


- [View source] + [View source]
@@ -1190,7 +1190,7 @@


- [View source] + [View source]
@@ -1206,7 +1206,7 @@


- [View source] + [View source]
@@ -1222,7 +1222,7 @@


- [View source] + [View source]
@@ -1238,7 +1238,7 @@


- [View source] + [View source]
@@ -1254,7 +1254,7 @@


- [View source] + [View source]
diff --git a/Lucky/InvalidSignatureError.html b/Lucky/InvalidSignatureError.html index 2c5cec5b6..dd025699d 100644 --- a/Lucky/InvalidSignatureError.html +++ b/Lucky/InvalidSignatureError.html @@ -949,7 +949,7 @@

- + lucky/errors.cr diff --git a/Lucky/InvalidSubdomainError.html b/Lucky/InvalidSubdomainError.html index 33a268095..f85d973ae 100644 --- a/Lucky/InvalidSubdomainError.html +++ b/Lucky/InvalidSubdomainError.html @@ -949,7 +949,7 @@

- + lucky/errors.cr @@ -1081,7 +1081,7 @@


- [View source] + [View source]
@@ -1111,7 +1111,7 @@


- [View source] + [View source]
diff --git a/Lucky/LinkHelpers.html b/Lucky/LinkHelpers.html index 0974f2bbe..36e392131 100644 --- a/Lucky/LinkHelpers.html +++ b/Lucky/LinkHelpers.html @@ -961,7 +961,7 @@

- + lucky/tags/link_helpers.cr @@ -1066,7 +1066,7 @@


- [View source] + [View source]
@@ -1082,7 +1082,7 @@


- [View source] + [View source]
@@ -1098,7 +1098,7 @@


- [View source] + [View source]
@@ -1114,7 +1114,7 @@


- [View source] + [View source]
@@ -1130,7 +1130,7 @@


- [View source] + [View source]
@@ -1146,7 +1146,7 @@


- [View source] + [View source]
@@ -1162,7 +1162,7 @@


- [View source] + [View source]
@@ -1178,7 +1178,7 @@


- [View source] + [View source]
@@ -1194,7 +1194,7 @@


- [View source] + [View source]
diff --git a/Lucky/LiveReloadTag.html b/Lucky/LiveReloadTag.html index 6864bcb80..5f64309e7 100644 --- a/Lucky/LiveReloadTag.html +++ b/Lucky/LiveReloadTag.html @@ -961,7 +961,7 @@

- + lucky/tags/live_reload_tag.cr @@ -1026,7 +1026,7 @@


- [View source] + [View source]
diff --git a/Lucky/LogHandler.html b/Lucky/LogHandler.html index d2112e6ac..792c1efb7 100644 --- a/Lucky/LogHandler.html +++ b/Lucky/LogHandler.html @@ -967,7 +967,7 @@

- + lucky/log_handler.cr @@ -1165,7 +1165,7 @@


- [View source] + [View source]
@@ -1181,7 +1181,7 @@


- [View source] + [View source]
@@ -1209,7 +1209,7 @@


- [View source] + [View source]
@@ -1225,7 +1225,7 @@


- [View source] + [View source]
@@ -1241,7 +1241,7 @@


- [View source] + [View source]
@@ -1257,7 +1257,7 @@


- [View source] + [View source]
diff --git a/Lucky/LogHandler/HabitatSettings.html b/Lucky/LogHandler/HabitatSettings.html index a5334936b..777abe4b6 100644 --- a/Lucky/LogHandler/HabitatSettings.html +++ b/Lucky/LogHandler/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/log_handler.cr diff --git a/Lucky/LoggerHelpers.html b/Lucky/LoggerHelpers.html index 5e9d4501e..21a168834 100644 --- a/Lucky/LoggerHelpers.html +++ b/Lucky/LoggerHelpers.html @@ -947,7 +947,7 @@

- + lucky/logger_helpers.cr @@ -1015,7 +1015,7 @@


- [View source] + [View source]
@@ -1031,7 +1031,7 @@


- [View source] + [View source]
diff --git a/Lucky/Memoizable.html b/Lucky/Memoizable.html index 579b4b0f8..c254fa1f2 100644 --- a/Lucky/Memoizable.html +++ b/Lucky/Memoizable.html @@ -961,7 +961,7 @@

- + lucky/memoizable.cr @@ -1048,7 +1048,7 @@


- [View source] + [View source]
diff --git a/Lucky/MessageEncryptor.html b/Lucky/MessageEncryptor.html index a2396f1c5..d77bb6b67 100644 --- a/Lucky/MessageEncryptor.html +++ b/Lucky/MessageEncryptor.html @@ -949,7 +949,7 @@

- + lucky/support/message_encryptor.cr @@ -1090,7 +1090,7 @@


- [View source] + [View source]
@@ -1120,7 +1120,7 @@


- [View source] + [View source]
@@ -1136,7 +1136,7 @@


- [View source] + [View source]
@@ -1158,7 +1158,7 @@


- [View source] + [View source]
@@ -1174,7 +1174,7 @@


- [View source] + [View source]
@@ -1190,7 +1190,7 @@


- [View source] + [View source]
@@ -1212,7 +1212,7 @@


- [View source] + [View source]
diff --git a/Lucky/MessageEncryptor/InvalidSecretKeyBase.html b/Lucky/MessageEncryptor/InvalidSecretKeyBase.html index 451cfee83..44cc079aa 100644 --- a/Lucky/MessageEncryptor/InvalidSecretKeyBase.html +++ b/Lucky/MessageEncryptor/InvalidSecretKeyBase.html @@ -949,7 +949,7 @@

- + lucky/support/message_encryptor.cr diff --git a/Lucky/MessageVerifier.html b/Lucky/MessageVerifier.html index d8a72527e..aa4a0b7c4 100644 --- a/Lucky/MessageVerifier.html +++ b/Lucky/MessageVerifier.html @@ -949,7 +949,7 @@

- + lucky/support/message_verifier.cr @@ -1081,7 +1081,7 @@


- [View source] + [View source]
@@ -1111,7 +1111,7 @@


- [View source] + [View source]
@@ -1127,7 +1127,7 @@


- [View source] + [View source]
@@ -1143,7 +1143,7 @@


- [View source] + [View source]
@@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1175,7 +1175,7 @@


- [View source] + [View source]
diff --git a/Lucky/MissingFileError.html b/Lucky/MissingFileError.html index 3e7046257..490bea006 100644 --- a/Lucky/MissingFileError.html +++ b/Lucky/MissingFileError.html @@ -949,7 +949,7 @@

- + lucky/errors.cr @@ -1086,7 +1086,7 @@


- [View source] + [View source]
@@ -1116,7 +1116,7 @@


- [View source] + [View source]
@@ -1132,7 +1132,7 @@


- [View source] + [View source]
diff --git a/Lucky/MissingNestedParamError.html b/Lucky/MissingNestedParamError.html index 99dd75600..92a065bd4 100644 --- a/Lucky/MissingNestedParamError.html +++ b/Lucky/MissingNestedParamError.html @@ -963,7 +963,7 @@

- + lucky/errors.cr @@ -1134,7 +1134,7 @@


- [View source] + [View source]
@@ -1164,7 +1164,7 @@


- [View source] + [View source]
@@ -1180,7 +1180,7 @@


- [View source] + [View source]
@@ -1196,7 +1196,7 @@


- [View source] + [View source]
@@ -1212,7 +1212,7 @@


- [View source] + [View source]
diff --git a/Lucky/MissingParamError.html b/Lucky/MissingParamError.html index 69795d774..a75320047 100644 --- a/Lucky/MissingParamError.html +++ b/Lucky/MissingParamError.html @@ -963,7 +963,7 @@

- + lucky/errors.cr @@ -1134,7 +1134,7 @@


- [View source] + [View source]
@@ -1164,7 +1164,7 @@


- [View source] + [View source]
@@ -1180,7 +1180,7 @@


- [View source] + [View source]
@@ -1196,7 +1196,7 @@


- [View source] + [View source]
@@ -1212,7 +1212,7 @@


- [View source] + [View source]
diff --git a/Lucky/MountComponent.html b/Lucky/MountComponent.html index 9591bd39c..5c66a675a 100644 --- a/Lucky/MountComponent.html +++ b/Lucky/MountComponent.html @@ -961,7 +961,7 @@

- + lucky/mount_component.cr @@ -1059,7 +1059,7 @@


- [View source] + [View source]
@@ -1087,7 +1087,7 @@


- [View source] + [View source]
@@ -1114,7 +1114,7 @@


- [View source] + [View source]
@@ -1144,7 +1144,7 @@


- [View source] + [View source]
diff --git a/Lucky/NotAcceptableError.html b/Lucky/NotAcceptableError.html index 0c46e1c31..95ca9d867 100644 --- a/Lucky/NotAcceptableError.html +++ b/Lucky/NotAcceptableError.html @@ -963,7 +963,7 @@

- + lucky/errors.cr @@ -1129,7 +1129,7 @@


- [View source] + [View source]
@@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1175,7 +1175,7 @@


- [View source] + [View source]
@@ -1191,7 +1191,7 @@


- [View source] + [View source]
diff --git a/Lucky/NumberToCurrency.html b/Lucky/NumberToCurrency.html index 349d70875..e12fcc170 100644 --- a/Lucky/NumberToCurrency.html +++ b/Lucky/NumberToCurrency.html @@ -961,7 +961,7 @@

- + lucky/page_helpers/number_to_currency.cr @@ -1070,7 +1070,7 @@


- [View source] + [View source]
diff --git a/Lucky/Paginator.html b/Lucky/Paginator.html index 90c900304..6396643d3 100644 --- a/Lucky/Paginator.html +++ b/Lucky/Paginator.html @@ -949,7 +949,7 @@

- + lucky/paginator/paginator.cr @@ -1170,7 +1170,7 @@


- [View source] + [View source]
@@ -1205,7 +1205,7 @@


- [View source] + [View source]
@@ -1221,7 +1221,7 @@


- [View source] + [View source]
@@ -1237,7 +1237,7 @@


- [View source] + [View source]
@@ -1262,7 +1262,7 @@


- [View source] + [View source]
@@ -1283,7 +1283,7 @@


- [View source] + [View source]
@@ -1304,7 +1304,7 @@


- [View source] + [View source]
@@ -1320,7 +1320,7 @@


- [View source] + [View source]
@@ -1341,7 +1341,7 @@


- [View source] + [View source]
@@ -1362,7 +1362,7 @@


- [View source] + [View source]
@@ -1383,7 +1383,7 @@


- [View source] + [View source]
@@ -1405,7 +1405,7 @@


- [View source] + [View source]
@@ -1438,7 +1438,7 @@


- [View source] + [View source]
@@ -1460,7 +1460,7 @@


- [View source] + [View source]
@@ -1476,7 +1476,7 @@


- [View source] + [View source]
@@ -1497,7 +1497,7 @@


- [View source] + [View source]
@@ -1618,7 +1618,7 @@


- [View source] + [View source]
@@ -1639,7 +1639,7 @@


- [View source] + [View source]
diff --git a/Lucky/Paginator/BackendHelpers.html b/Lucky/Paginator/BackendHelpers.html index 1a4910e52..1969d2e99 100644 --- a/Lucky/Paginator/BackendHelpers.html +++ b/Lucky/Paginator/BackendHelpers.html @@ -947,7 +947,7 @@

- + lucky/paginator/backend_helpers.cr @@ -1057,7 +1057,7 @@


- [View source] + [View source]
@@ -1094,7 +1094,7 @@


- [View source] + [View source]
@@ -1134,7 +1134,7 @@


- [View source] + [View source]
diff --git a/Lucky/Paginator/BootstrapNav.html b/Lucky/Paginator/BootstrapNav.html index 1fc17d650..dcbe3afd4 100644 --- a/Lucky/Paginator/BootstrapNav.html +++ b/Lucky/Paginator/BootstrapNav.html @@ -961,7 +961,7 @@

- + lucky/paginator/components/bootstrap_nav.cr @@ -2291,7 +2291,7 @@


- [View source] + [View source]
@@ -2319,7 +2319,7 @@


- [View source] + [View source]
@@ -2335,7 +2335,7 @@


- [View source] + [View source]
@@ -2365,7 +2365,7 @@


- [View source] + [View source]
@@ -2381,7 +2381,7 @@


- [View source] + [View source]
@@ -2397,7 +2397,7 @@


- [View source] + [View source]
@@ -2413,7 +2413,7 @@


- [View source] + [View source]
@@ -2429,7 +2429,7 @@


- [View source] + [View source]
diff --git a/Lucky/Paginator/BulmaNav.html b/Lucky/Paginator/BulmaNav.html index 438874c60..b5de9aa26 100644 --- a/Lucky/Paginator/BulmaNav.html +++ b/Lucky/Paginator/BulmaNav.html @@ -961,7 +961,7 @@

- + lucky/paginator/components/bulma_nav.cr @@ -2291,7 +2291,7 @@


- [View source] + [View source]
@@ -2319,7 +2319,7 @@


- [View source] + [View source]
@@ -2335,7 +2335,7 @@


- [View source] + [View source]
@@ -2365,7 +2365,7 @@


- [View source] + [View source]
@@ -2381,7 +2381,7 @@


- [View source] + [View source]
@@ -2397,7 +2397,7 @@


- [View source] + [View source]
@@ -2413,7 +2413,7 @@


- [View source] + [View source]
@@ -2429,7 +2429,7 @@


- [View source] + [View source]
diff --git a/Lucky/Paginator/CurrentPage.html b/Lucky/Paginator/CurrentPage.html index 782c5b097..c3106bb0b 100644 --- a/Lucky/Paginator/CurrentPage.html +++ b/Lucky/Paginator/CurrentPage.html @@ -949,7 +949,7 @@

- + lucky/paginator/current_page.cr diff --git a/Lucky/Paginator/Page.html b/Lucky/Paginator/Page.html index 53bf5e91e..b5d3a050f 100644 --- a/Lucky/Paginator/Page.html +++ b/Lucky/Paginator/Page.html @@ -963,7 +963,7 @@

- + lucky/paginator/page.cr @@ -1087,7 +1087,7 @@


- [View source] + [View source]
@@ -1126,7 +1126,7 @@


- [View source] + [View source]
@@ -1142,7 +1142,7 @@


- [View source] + [View source]
@@ -1158,7 +1158,7 @@


- [View source] + [View source]
diff --git a/Lucky/Paginator/SeriesItem.html b/Lucky/Paginator/SeriesItem.html index 3437ce9f1..61c6322ca 100644 --- a/Lucky/Paginator/SeriesItem.html +++ b/Lucky/Paginator/SeriesItem.html @@ -957,7 +957,7 @@

- + lucky/paginator/paginator.cr diff --git a/Lucky/Paginator/SimpleNav.html b/Lucky/Paginator/SimpleNav.html index 3f9c505b7..eb1c79f1c 100644 --- a/Lucky/Paginator/SimpleNav.html +++ b/Lucky/Paginator/SimpleNav.html @@ -962,7 +962,7 @@

- + lucky/paginator/components/simple_nav.cr @@ -2294,7 +2294,7 @@


- [View source] + [View source]
@@ -2322,7 +2322,7 @@


- [View source] + [View source]
@@ -2338,7 +2338,7 @@


- [View source] + [View source]
@@ -2368,7 +2368,7 @@


- [View source] + [View source]
@@ -2384,7 +2384,7 @@


- [View source] + [View source]
@@ -2400,7 +2400,7 @@


- [View source] + [View source]
@@ -2416,7 +2416,7 @@


- [View source] + [View source]
@@ -2432,7 +2432,7 @@


- [View source] + [View source]
diff --git a/Lucky/ParamHelpers.html b/Lucky/ParamHelpers.html index 1e0dfe82a..a1dd4a2c5 100644 --- a/Lucky/ParamHelpers.html +++ b/Lucky/ParamHelpers.html @@ -963,7 +963,7 @@

- + lucky/param_helpers.cr @@ -1049,7 +1049,7 @@


- [View source] + [View source]
@@ -1072,7 +1072,7 @@


- [View source] + [View source]
@@ -1093,7 +1093,7 @@


- [View source] + [View source]
diff --git a/Lucky/ParamParser.html b/Lucky/ParamParser.html index 184c04abb..cb5772467 100644 --- a/Lucky/ParamParser.html +++ b/Lucky/ParamParser.html @@ -947,7 +947,7 @@

- + lucky/param_parser.cr @@ -1071,7 +1071,7 @@


- [View source] + [View source]
@@ -1087,7 +1087,7 @@


- [View source] + [View source]
@@ -1103,7 +1103,7 @@


- [View source] + [View source]
@@ -1119,7 +1119,7 @@


- [View source] + [View source]
@@ -1135,7 +1135,7 @@


- [View source] + [View source]
@@ -1151,7 +1151,7 @@


- [View source] + [View source]
@@ -1167,7 +1167,7 @@


- [View source] + [View source]
@@ -1183,7 +1183,7 @@


- [View source] + [View source]
@@ -1204,7 +1204,7 @@


- [View source] + [View source]
diff --git a/Lucky/ParamParsingError.html b/Lucky/ParamParsingError.html index f499f8a90..4f23d1610 100644 --- a/Lucky/ParamParsingError.html +++ b/Lucky/ParamParsingError.html @@ -963,7 +963,7 @@

- + lucky/errors.cr @@ -1129,7 +1129,7 @@


- [View source] + [View source]
@@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1175,7 +1175,7 @@


- [View source] + [View source]
@@ -1191,7 +1191,7 @@


- [View source] + [View source]
diff --git a/Lucky/Params.html b/Lucky/Params.html index a4a0017be..b61203009 100644 --- a/Lucky/Params.html +++ b/Lucky/Params.html @@ -949,7 +949,7 @@

- + lucky/params.cr @@ -1262,7 +1262,7 @@


- [View source] + [View source]
@@ -1297,7 +1297,7 @@


- [View source] + [View source]
@@ -1320,7 +1320,7 @@


- [View source] + [View source]
@@ -1341,7 +1341,7 @@


- [View source] + [View source]
@@ -1367,7 +1367,7 @@


- [View source] + [View source]
@@ -1400,7 +1400,7 @@


- [View source] + [View source]
@@ -1430,7 +1430,7 @@


- [View source] + [View source]
@@ -1456,7 +1456,7 @@


- [View source] + [View source]
@@ -1481,7 +1481,7 @@


- [View source] + [View source]
@@ -1505,7 +1505,7 @@


- [View source] + [View source]
@@ -1538,7 +1538,7 @@


- [View source] + [View source]
@@ -1561,7 +1561,7 @@


- [View source] + [View source]
@@ -1577,7 +1577,7 @@


- [View source] + [View source]
@@ -1593,7 +1593,7 @@


- [View source] + [View source]
@@ -1621,7 +1621,7 @@


- [View source] + [View source]
@@ -1648,7 +1648,7 @@


- [View source] + [View source]
@@ -1673,7 +1673,7 @@


- [View source] + [View source]
@@ -1698,7 +1698,7 @@


- [View source] + [View source]
@@ -1728,7 +1728,7 @@


- [View source] + [View source]
@@ -1758,7 +1758,7 @@


- [View source] + [View source]
@@ -1787,7 +1787,7 @@


- [View source] + [View source]
@@ -1816,7 +1816,7 @@


- [View source] + [View source]
@@ -1832,7 +1832,7 @@


- [View source] + [View source]
@@ -1848,7 +1848,7 @@


- [View source] + [View source]
@@ -1873,7 +1873,7 @@


- [View source] + [View source]
@@ -1889,7 +1889,7 @@


- [View source] + [View source]
@@ -1914,7 +1914,7 @@


- [View source] + [View source]
@@ -1939,7 +1939,7 @@


- [View source] + [View source]
@@ -1955,7 +1955,7 @@


- [View source] + [View source]
@@ -1979,7 +1979,7 @@


- [View source] + [View source]
diff --git a/Lucky/PrettyLogFormatter.html b/Lucky/PrettyLogFormatter.html index 3e5b32bb6..cc6b255fb 100644 --- a/Lucky/PrettyLogFormatter.html +++ b/Lucky/PrettyLogFormatter.html @@ -949,7 +949,7 @@

- + lucky/pretty_log_formatter.cr @@ -1087,7 +1087,7 @@


- [View source] + [View source]
diff --git a/Lucky/ProtectFromForgery.html b/Lucky/ProtectFromForgery.html index 1883f852a..aa1ae629b 100644 --- a/Lucky/ProtectFromForgery.html +++ b/Lucky/ProtectFromForgery.html @@ -976,7 +976,7 @@

- + lucky/protect_from_forgery.cr @@ -1115,7 +1115,7 @@


- [View source] + [View source]
@@ -1131,7 +1131,7 @@


- [View source] + [View source]
@@ -1159,7 +1159,7 @@


- [View source] + [View source]
diff --git a/Lucky/ProtectFromForgery/HabitatSettings.html b/Lucky/ProtectFromForgery/HabitatSettings.html index 23c1b0620..5b58b4b37 100644 --- a/Lucky/ProtectFromForgery/HabitatSettings.html +++ b/Lucky/ProtectFromForgery/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/protect_from_forgery.cr diff --git a/Lucky/QuickDef.html b/Lucky/QuickDef.html index 25581d19b..5a4e81c78 100644 --- a/Lucky/QuickDef.html +++ b/Lucky/QuickDef.html @@ -961,7 +961,7 @@

- + lucky/quick_def.cr @@ -1042,7 +1042,7 @@


- [View source] + [View source]
diff --git a/Lucky/Redirectable.html b/Lucky/Redirectable.html index c72b6cffc..ab4e5187d 100644 --- a/Lucky/Redirectable.html +++ b/Lucky/Redirectable.html @@ -1011,7 +1011,7 @@

- + lucky/redirectable.cr @@ -1191,7 +1191,7 @@


- [View source] + [View source]
@@ -1207,7 +1207,7 @@


- [View source] + [View source]
@@ -1241,7 +1241,7 @@


- [View source] + [View source]
@@ -1263,7 +1263,7 @@


- [View source] + [View source]
@@ -1285,7 +1285,7 @@


- [View source] + [View source]
@@ -1309,7 +1309,7 @@


- [View source] + [View source]
@@ -1331,7 +1331,7 @@


- [View source] + [View source]
@@ -1353,7 +1353,7 @@


- [View source] + [View source]
@@ -1375,7 +1375,7 @@


- [View source] + [View source]
@@ -1408,7 +1408,7 @@


- [View source] + [View source]
@@ -1424,7 +1424,7 @@


- [View source] + [View source]
diff --git a/Lucky/Redirectable/HabitatSettings.html b/Lucky/Redirectable/HabitatSettings.html index fed7d7584..6b1f7a607 100644 --- a/Lucky/Redirectable/HabitatSettings.html +++ b/Lucky/Redirectable/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/redirectable.cr diff --git a/Lucky/RedirectableTurbolinksSupport.html b/Lucky/RedirectableTurbolinksSupport.html index bd97a13e5..932509155 100644 --- a/Lucky/RedirectableTurbolinksSupport.html +++ b/Lucky/RedirectableTurbolinksSupport.html @@ -961,7 +961,7 @@

- + lucky/redirectable_turbolinks_support.cr @@ -1033,7 +1033,7 @@


- [View source] + [View source]
diff --git a/Lucky/RemoteIpHandler.html b/Lucky/RemoteIpHandler.html index 62ed6eca2..d35187845 100644 --- a/Lucky/RemoteIpHandler.html +++ b/Lucky/RemoteIpHandler.html @@ -988,7 +988,7 @@

- + lucky/remote_ip_handler.cr @@ -1161,7 +1161,7 @@


- [View source] + [View source]
@@ -1177,7 +1177,7 @@


- [View source] + [View source]
@@ -1205,7 +1205,7 @@


- [View source] + [View source]
@@ -1221,7 +1221,7 @@


- [View source] + [View source]
diff --git a/Lucky/RemoteIpHandler/HabitatSettings.html b/Lucky/RemoteIpHandler/HabitatSettings.html index dcd0c2e09..368b2b99f 100644 --- a/Lucky/RemoteIpHandler/HabitatSettings.html +++ b/Lucky/RemoteIpHandler/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/remote_ip_handler.cr diff --git a/Lucky/RenderIfDefined.html b/Lucky/RenderIfDefined.html index 19abb70b7..fc5ae4caf 100644 --- a/Lucky/RenderIfDefined.html +++ b/Lucky/RenderIfDefined.html @@ -961,7 +961,7 @@

- + lucky/page_helpers/render_if_defined.cr @@ -1028,7 +1028,7 @@


- [View source] + [View source]
diff --git a/Lucky/Renderable.html b/Lucky/Renderable.html index d75448c6f..50c8eff22 100644 --- a/Lucky/Renderable.html +++ b/Lucky/Renderable.html @@ -963,7 +963,7 @@

- + lucky/renderable.cr @@ -1176,7 +1176,7 @@


- [View source] + [View source]
@@ -1192,7 +1192,7 @@


- [View source] + [View source]
@@ -1208,7 +1208,7 @@


- [View source] + [View source]
@@ -1224,7 +1224,7 @@


- [View source] + [View source]
@@ -1240,7 +1240,7 @@


- [View source] + [View source]
@@ -1256,7 +1256,7 @@


- [View source] + [View source]
@@ -1272,7 +1272,7 @@


- [View source] + [View source]
@@ -1293,7 +1293,7 @@


- [View source] + [View source]
@@ -1309,7 +1309,7 @@


- [View source] + [View source]
@@ -1325,7 +1325,7 @@


- [View source] + [View source]
@@ -1346,7 +1346,7 @@


- [View source] + [View source]
@@ -1367,7 +1367,7 @@


- [View source] + [View source]
@@ -1383,7 +1383,7 @@


- [View source] + [View source]
@@ -1399,7 +1399,7 @@


- [View source] + [View source]
@@ -1420,7 +1420,7 @@


- [View source] + [View source]
@@ -1436,7 +1436,7 @@


- [View source] + [View source]
@@ -1452,7 +1452,7 @@


- [View source] + [View source]
@@ -1468,7 +1468,7 @@


- [View source] + [View source]
@@ -1484,7 +1484,7 @@


- [View source] + [View source]
@@ -1505,7 +1505,7 @@


- [View source] + [View source]
@@ -1547,7 +1547,7 @@


- [View source] + [View source]
@@ -1599,7 +1599,7 @@


- [View source] + [View source]
@@ -1629,7 +1629,7 @@


- [View source] + [View source]
diff --git a/Lucky/RenderableError.html b/Lucky/RenderableError.html index 93e16b6a9..bd6019fcf 100644 --- a/Lucky/RenderableError.html +++ b/Lucky/RenderableError.html @@ -973,7 +973,7 @@

- + lucky/renderable_error.cr @@ -1043,7 +1043,7 @@


- [View source] + [View source]
@@ -1059,7 +1059,7 @@


- [View source] + [View source]
diff --git a/Lucky/RequestExpectations.html b/Lucky/RequestExpectations.html index 2386bd35e..4912dd8e3 100644 --- a/Lucky/RequestExpectations.html +++ b/Lucky/RequestExpectations.html @@ -958,7 +958,7 @@

- + lucky/request_expectations.cr @@ -1035,7 +1035,7 @@


- [View source] + [View source]
diff --git a/Lucky/RequestIdHandler.html b/Lucky/RequestIdHandler.html index df7ea132f..2bcef03ab 100644 --- a/Lucky/RequestIdHandler.html +++ b/Lucky/RequestIdHandler.html @@ -986,7 +986,7 @@

- + lucky/request_id_handler.cr @@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1175,7 +1175,7 @@


- [View source] + [View source]
@@ -1203,7 +1203,7 @@


- [View source] + [View source]
@@ -1219,7 +1219,7 @@


- [View source] + [View source]
diff --git a/Lucky/RequestIdHandler/HabitatSettings.html b/Lucky/RequestIdHandler/HabitatSettings.html index 4af826b9f..839294d67 100644 --- a/Lucky/RequestIdHandler/HabitatSettings.html +++ b/Lucky/RequestIdHandler/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/request_id_handler.cr diff --git a/Lucky/RequestTypeHelpers.html b/Lucky/RequestTypeHelpers.html index f0968b851..69c7414a5 100644 --- a/Lucky/RequestTypeHelpers.html +++ b/Lucky/RequestTypeHelpers.html @@ -973,7 +973,7 @@

- + lucky/request_type_helpers.cr @@ -1106,7 +1106,7 @@


- [View source] + [View source]
@@ -1128,7 +1128,7 @@


- [View source] + [View source]
@@ -1154,7 +1154,7 @@


- [View source] + [View source]
@@ -1176,7 +1176,7 @@


- [View source] + [View source]
@@ -1198,7 +1198,7 @@


- [View source] + [View source]
@@ -1221,7 +1221,7 @@


- [View source] + [View source]
@@ -1243,7 +1243,7 @@


- [View source] + [View source]
@@ -1277,7 +1277,7 @@


- [View source] + [View source]
diff --git a/Lucky/Response.html b/Lucky/Response.html index 7831fb2e4..a189abd65 100644 --- a/Lucky/Response.html +++ b/Lucky/Response.html @@ -967,7 +967,7 @@

- + lucky/response.cr @@ -1071,7 +1071,7 @@


- [View source] + [View source]
@@ -1087,7 +1087,7 @@


- [View source] + [View source]
diff --git a/Lucky/Routable.html b/Lucky/Routable.html index 1b4668cb8..0202ab2c8 100644 --- a/Lucky/Routable.html +++ b/Lucky/Routable.html @@ -972,7 +972,7 @@

- + lucky/routable.cr @@ -1131,7 +1131,7 @@


- [View source] + [View source]
@@ -1155,7 +1155,7 @@


- [View source] + [View source]
@@ -1171,7 +1171,7 @@


- [View source] + [View source]
@@ -1204,7 +1204,7 @@


- [View source] + [View source]
@@ -1220,7 +1220,7 @@


- [View source] + [View source]
@@ -1249,7 +1249,7 @@


- [View source] + [View source]
@@ -1306,7 +1306,7 @@


- [View source] + [View source]
@@ -1339,7 +1339,7 @@


- [View source] + [View source]
@@ -1372,7 +1372,7 @@


- [View source] + [View source]
@@ -1405,7 +1405,7 @@


- [View source] + [View source]
@@ -1427,7 +1427,7 @@


- [View source] + [View source]
@@ -1460,7 +1460,7 @@


- [View source] + [View source]
diff --git a/Lucky/RouteHandler.html b/Lucky/RouteHandler.html index 185a56e2b..0ab4e4c7b 100644 --- a/Lucky/RouteHandler.html +++ b/Lucky/RouteHandler.html @@ -963,7 +963,7 @@

- + lucky/route_handler.cr @@ -1072,7 +1072,7 @@


- [View source] + [View source]
diff --git a/Lucky/RouteHelper.html b/Lucky/RouteHelper.html index d6320541c..6501179a6 100644 --- a/Lucky/RouteHelper.html +++ b/Lucky/RouteHelper.html @@ -965,7 +965,7 @@

- + lucky/route_helper.cr @@ -1160,7 +1160,7 @@


- [View source] + [View source]
@@ -1188,7 +1188,7 @@


- [View source] + [View source]
@@ -1204,7 +1204,7 @@


- [View source] + [View source]
@@ -1241,7 +1241,7 @@


- [View source] + [View source]
@@ -1257,7 +1257,7 @@


- [View source] + [View source]
@@ -1273,7 +1273,7 @@


- [View source] + [View source]
@@ -1289,7 +1289,7 @@


- [View source] + [View source]
@@ -1305,7 +1305,7 @@


- [View source] + [View source]
diff --git a/Lucky/RouteHelper/HabitatSettings.html b/Lucky/RouteHelper/HabitatSettings.html index df5f13e99..bb93c84af 100644 --- a/Lucky/RouteHelper/HabitatSettings.html +++ b/Lucky/RouteHelper/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/route_helper.cr diff --git a/Lucky/RouteInferrer.html b/Lucky/RouteInferrer.html index 3d45e792c..10bed51b7 100644 --- a/Lucky/RouteInferrer.html +++ b/Lucky/RouteInferrer.html @@ -949,7 +949,7 @@

- + lucky/route_inferrer.cr @@ -1071,7 +1071,7 @@


- [View source] + [View source]
@@ -1101,7 +1101,7 @@


- [View source] + [View source]
@@ -1117,7 +1117,7 @@


- [View source] + [View source]
@@ -1133,7 +1133,7 @@


- [View source] + [View source]
diff --git a/Lucky/RouteNotFoundError.html b/Lucky/RouteNotFoundError.html index a146f2a5e..99f4e2548 100644 --- a/Lucky/RouteNotFoundError.html +++ b/Lucky/RouteNotFoundError.html @@ -960,7 +960,7 @@

- + lucky/errors.cr @@ -1092,7 +1092,7 @@


- [View source] + [View source]
@@ -1122,7 +1122,7 @@


- [View source] + [View source]
diff --git a/Lucky/RouteNotFoundHandler.html b/Lucky/RouteNotFoundHandler.html index 3160cd196..d3b934682 100644 --- a/Lucky/RouteNotFoundHandler.html +++ b/Lucky/RouteNotFoundHandler.html @@ -978,7 +978,7 @@

- + lucky/route_not_found_handler.cr @@ -1107,7 +1107,7 @@


- [View source] + [View source]
@@ -1123,7 +1123,7 @@


- [View source] + [View source]
@@ -1151,7 +1151,7 @@


- [View source] + [View source]
diff --git a/Lucky/SecureHeaders.html b/Lucky/SecureHeaders.html index 4b96af3be..458fe9309 100644 --- a/Lucky/SecureHeaders.html +++ b/Lucky/SecureHeaders.html @@ -947,35 +947,35 @@

- + lucky/secure_headers/disable_floc.cr
- + lucky/secure_headers/set_csp_guard.cr
- + lucky/secure_headers/set_frame_guard.cr
- + lucky/secure_headers/set_sniff_guard.cr
- + lucky/secure_headers/set_xss_guard.cr diff --git a/Lucky/SecureHeaders/DisableFLoC.html b/Lucky/SecureHeaders/DisableFLoC.html index b21bfda12..076069499 100644 --- a/Lucky/SecureHeaders/DisableFLoC.html +++ b/Lucky/SecureHeaders/DisableFLoC.html @@ -960,7 +960,7 @@

- + lucky/secure_headers/disable_floc.cr diff --git a/Lucky/SecureHeaders/SetCSPGuard.html b/Lucky/SecureHeaders/SetCSPGuard.html index 34dd7ff91..dbaaf8d0a 100644 --- a/Lucky/SecureHeaders/SetCSPGuard.html +++ b/Lucky/SecureHeaders/SetCSPGuard.html @@ -968,7 +968,7 @@

- + lucky/secure_headers/set_csp_guard.cr @@ -1033,7 +1033,7 @@


- [View source] + [View source]
diff --git a/Lucky/SecureHeaders/SetFrameGuard.html b/Lucky/SecureHeaders/SetFrameGuard.html index cc2c438b3..bb7737a16 100644 --- a/Lucky/SecureHeaders/SetFrameGuard.html +++ b/Lucky/SecureHeaders/SetFrameGuard.html @@ -981,7 +981,7 @@

- + lucky/secure_headers/set_frame_guard.cr @@ -1046,7 +1046,7 @@


- [View source] + [View source]
diff --git a/Lucky/SecureHeaders/SetSniffGuard.html b/Lucky/SecureHeaders/SetSniffGuard.html index cba2d62de..c02590f5e 100644 --- a/Lucky/SecureHeaders/SetSniffGuard.html +++ b/Lucky/SecureHeaders/SetSniffGuard.html @@ -964,7 +964,7 @@

- + lucky/secure_headers/set_sniff_guard.cr diff --git a/Lucky/SecureHeaders/SetXSSGuard.html b/Lucky/SecureHeaders/SetXSSGuard.html index a46c0406c..1e1d25888 100644 --- a/Lucky/SecureHeaders/SetXSSGuard.html +++ b/Lucky/SecureHeaders/SetXSSGuard.html @@ -960,7 +960,7 @@

- + lucky/secure_headers/set_xss_guard.cr diff --git a/Lucky/Serializer.html b/Lucky/Serializer.html index 9c1fdf6ff..44ed457cc 100644 --- a/Lucky/Serializer.html +++ b/Lucky/Serializer.html @@ -949,7 +949,7 @@

- + lucky/serializer.cr @@ -1053,7 +1053,7 @@


- [View source] + [View source]
@@ -1069,7 +1069,7 @@


- [View source] + [View source]
diff --git a/Lucky/Server.html b/Lucky/Server.html index 696bc2607..363deef35 100644 --- a/Lucky/Server.html +++ b/Lucky/Server.html @@ -977,7 +977,7 @@

- + lucky/server.cr @@ -1135,7 +1135,7 @@


- [View source] + [View source]
@@ -1151,7 +1151,7 @@


- [View source] + [View source]
@@ -1179,7 +1179,7 @@


- [View source] + [View source]
diff --git a/Lucky/Server/HabitatSettings.html b/Lucky/Server/HabitatSettings.html index 0f8d11b1b..b35d66921 100644 --- a/Lucky/Server/HabitatSettings.html +++ b/Lucky/Server/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/server.cr diff --git a/Lucky/ServerSettings.html b/Lucky/ServerSettings.html index 312d20102..32b1e78b8 100644 --- a/Lucky/ServerSettings.html +++ b/Lucky/ServerSettings.html @@ -961,7 +961,7 @@

- + lucky/server_settings.cr @@ -1074,7 +1074,7 @@


- [View source] + [View source]
@@ -1095,7 +1095,7 @@


- [View source] + [View source]
@@ -1116,7 +1116,7 @@


- [View source] + [View source]
@@ -1137,7 +1137,7 @@


- [View source] + [View source]
diff --git a/Lucky/Session.html b/Lucky/Session.html index b138f12ae..2151eb2c6 100644 --- a/Lucky/Session.html +++ b/Lucky/Session.html @@ -965,7 +965,7 @@

- + lucky/cookies/session.cr @@ -1168,7 +1168,7 @@


- [View source] + [View source]
@@ -1184,7 +1184,7 @@


- [View source] + [View source]
@@ -1200,7 +1200,7 @@


- [View source] + [View source]
@@ -1228,7 +1228,7 @@


- [View source] + [View source]
@@ -1244,7 +1244,7 @@


- [View source] + [View source]
@@ -1260,7 +1260,7 @@


- [View source] + [View source]
@@ -1276,7 +1276,7 @@


- [View source] + [View source]
@@ -1292,7 +1292,7 @@


- [View source] + [View source]
@@ -1308,7 +1308,7 @@


- [View source] + [View source]
@@ -1324,7 +1324,7 @@


- [View source] + [View source]
@@ -1340,7 +1340,7 @@


- [View source] + [View source]
@@ -1356,7 +1356,7 @@


- [View source] + [View source]
diff --git a/Lucky/Session/HabitatSettings.html b/Lucky/Session/HabitatSettings.html index dd5002c5b..7979b6aa6 100644 --- a/Lucky/Session/HabitatSettings.html +++ b/Lucky/Session/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/cookies/session.cr diff --git a/Lucky/Session/Key.html b/Lucky/Session/Key.html index e50674b12..02f7a6d89 100644 --- a/Lucky/Session/Key.html +++ b/Lucky/Session/Key.html @@ -957,7 +957,7 @@

- + lucky/cookies/session.cr diff --git a/Lucky/SkipRouteStyleCheck.html b/Lucky/SkipRouteStyleCheck.html index 58438451b..a3e3584b9 100644 --- a/Lucky/SkipRouteStyleCheck.html +++ b/Lucky/SkipRouteStyleCheck.html @@ -958,7 +958,7 @@

- + lucky/skip_route_style_check.cr @@ -1025,7 +1025,7 @@


- [View source] + [View source]
diff --git a/Lucky/SpecialtyTags.html b/Lucky/SpecialtyTags.html index e0bcc61d4..59a7f71b3 100644 --- a/Lucky/SpecialtyTags.html +++ b/Lucky/SpecialtyTags.html @@ -961,7 +961,7 @@

- + lucky/tags/specialty_tags.cr @@ -1083,7 +1083,7 @@


- [View source] + [View source]
@@ -1105,7 +1105,7 @@


- [View source] + [View source]
@@ -1126,7 +1126,7 @@


- [View source] + [View source]
@@ -1149,7 +1149,7 @@


- [View source] + [View source]
@@ -1179,7 +1179,7 @@


- [View source] + [View source]
@@ -1206,7 +1206,7 @@


- [View source] + [View source]
@@ -1232,7 +1232,7 @@


- [View source] + [View source]
@@ -1256,7 +1256,7 @@


- [View source] + [View source]
diff --git a/Lucky/StaticCompressionHandler.html b/Lucky/StaticCompressionHandler.html index fcce42b35..e1397c953 100644 --- a/Lucky/StaticCompressionHandler.html +++ b/Lucky/StaticCompressionHandler.html @@ -984,7 +984,7 @@

- + lucky/static_compression_handler.cr @@ -1106,7 +1106,7 @@


- [View source] + [View source]
@@ -1136,7 +1136,7 @@


- [View source] + [View source]
diff --git a/Lucky/StaticFileHandler.html b/Lucky/StaticFileHandler.html index ddf74e4db..b3218ef24 100644 --- a/Lucky/StaticFileHandler.html +++ b/Lucky/StaticFileHandler.html @@ -949,7 +949,7 @@

- + charms/static_file_handler.cr @@ -1068,7 +1068,7 @@


- [View source] + [View source]
diff --git a/Lucky/Subdomain.html b/Lucky/Subdomain.html index a98621da1..39e099494 100644 --- a/Lucky/Subdomain.html +++ b/Lucky/Subdomain.html @@ -963,7 +963,7 @@

- + lucky/subdomain.cr @@ -1115,7 +1115,7 @@


- [View source] + [View source]
@@ -1131,7 +1131,7 @@


- [View source] + [View source]
@@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1200,7 +1200,7 @@


- [View source] + [View source]
diff --git a/Lucky/Subdomain/HabitatSettings.html b/Lucky/Subdomain/HabitatSettings.html index 10d420d9e..7b668a675 100644 --- a/Lucky/Subdomain/HabitatSettings.html +++ b/Lucky/Subdomain/HabitatSettings.html @@ -949,7 +949,7 @@

- + lucky/subdomain.cr diff --git a/Lucky/Subdomain/Matcher.html b/Lucky/Subdomain/Matcher.html index fddce3132..6cf703d15 100644 --- a/Lucky/Subdomain/Matcher.html +++ b/Lucky/Subdomain/Matcher.html @@ -957,7 +957,7 @@

- + lucky/subdomain.cr diff --git a/Lucky/SvgInliner.html b/Lucky/SvgInliner.html index bb65be324..a9cbb1944 100644 --- a/Lucky/SvgInliner.html +++ b/Lucky/SvgInliner.html @@ -961,14 +961,14 @@

- + lucky/page_helpers/svg_inliner.cr:1
- + lucky/page_helpers/svg_inliner.cr:8 @@ -1035,7 +1035,7 @@


- [View source] + [View source]
diff --git a/Lucky/SvgInliner/Path.html b/Lucky/SvgInliner/Path.html index 0a11d165e..ae82e7880 100644 --- a/Lucky/SvgInliner/Path.html +++ b/Lucky/SvgInliner/Path.html @@ -947,7 +947,7 @@

- + lucky/page_helpers/svg_inliner.cr diff --git a/Lucky/SvgInliner/StripRegex.html b/Lucky/SvgInliner/StripRegex.html index e2365b1ce..2e280e50a 100644 --- a/Lucky/SvgInliner/StripRegex.html +++ b/Lucky/SvgInliner/StripRegex.html @@ -947,7 +947,7 @@

- + lucky/page_helpers/svg_inliner.cr diff --git a/Lucky/TagDefaults.html b/Lucky/TagDefaults.html index 029c8865b..9cf848898 100644 --- a/Lucky/TagDefaults.html +++ b/Lucky/TagDefaults.html @@ -973,7 +973,7 @@

- + lucky/tags/tag_defaults.cr @@ -1052,7 +1052,7 @@


- [View source] + [View source]
diff --git a/Lucky/TagDefaults/OptionMerger.html b/Lucky/TagDefaults/OptionMerger.html index 734e6cbac..99631db5d 100644 --- a/Lucky/TagDefaults/OptionMerger.html +++ b/Lucky/TagDefaults/OptionMerger.html @@ -949,7 +949,7 @@

- + lucky/tags/tag_defaults.cr @@ -1078,7 +1078,7 @@


- [View source] + [View source]
@@ -1108,7 +1108,7 @@


- [View source] + [View source]
@@ -1136,7 +1136,7 @@


- [View source] + [View source]
diff --git a/Lucky/TextHelpers.html b/Lucky/TextHelpers.html index 8b1b4378e..dec1dd157 100644 --- a/Lucky/TextHelpers.html +++ b/Lucky/TextHelpers.html @@ -972,7 +972,7 @@

- + lucky/page_helpers/text_helpers.cr @@ -1090,7 +1090,7 @@


- [View source] + [View source]
@@ -1106,7 +1106,7 @@


- [View source] + [View source]
@@ -1122,7 +1122,7 @@


- [View source] + [View source]
@@ -1158,7 +1158,7 @@


- [View source] + [View source]
@@ -1180,7 +1180,7 @@


- [View source] + [View source]
@@ -1196,7 +1196,7 @@


- [View source] + [View source]
@@ -1212,7 +1212,7 @@


- [View source] + [View source]
@@ -1271,7 +1271,7 @@


- [View source] + [View source]
@@ -1299,7 +1299,7 @@


- [View source] + [View source]
@@ -1315,7 +1315,7 @@


- [View source] + [View source]
diff --git a/Lucky/TextHelpers/Cycle.html b/Lucky/TextHelpers/Cycle.html index 1a10360fc..1f253e9b4 100644 --- a/Lucky/TextHelpers/Cycle.html +++ b/Lucky/TextHelpers/Cycle.html @@ -949,7 +949,7 @@

- + lucky/page_helpers/text_helpers.cr @@ -1083,7 +1083,7 @@


- [View source] + [View source]
@@ -1099,7 +1099,7 @@


- [View source] + [View source]
@@ -1129,7 +1129,7 @@


- [View source] + [View source]
@@ -1145,7 +1145,7 @@


- [View source] + [View source]
@@ -1174,7 +1174,7 @@


- [View source] + [View source]
@@ -1190,7 +1190,7 @@


- [View source] + [View source]
diff --git a/Lucky/TextResponse.html b/Lucky/TextResponse.html index 2b23b90f2..77594278a 100644 --- a/Lucky/TextResponse.html +++ b/Lucky/TextResponse.html @@ -963,7 +963,7 @@

- + lucky/text_response.cr @@ -1148,7 +1148,7 @@


- [View source] + [View source]
@@ -1178,7 +1178,7 @@


- [View source] + [View source]
@@ -1194,7 +1194,7 @@


- [View source] + [View source]
@@ -1210,7 +1210,7 @@


- [View source] + [View source]
@@ -1226,7 +1226,7 @@


- [View source] + [View source]
@@ -1242,7 +1242,7 @@


- [View source] + [View source]
@@ -1258,7 +1258,7 @@


- [View source] + [View source]
@@ -1274,7 +1274,7 @@


- [View source] + [View source]
diff --git a/Lucky/TimeHelpers.html b/Lucky/TimeHelpers.html index 09edf46b6..24f8d5a60 100644 --- a/Lucky/TimeHelpers.html +++ b/Lucky/TimeHelpers.html @@ -961,7 +961,7 @@

- + lucky/page_helpers/time_helpers.cr @@ -1057,7 +1057,7 @@


- [View source] + [View source]
@@ -1073,7 +1073,7 @@


- [View source] + [View source]
@@ -1098,7 +1098,7 @@


- [View source] + [View source]
diff --git a/Lucky/UnknownAcceptHeaderError.html b/Lucky/UnknownAcceptHeaderError.html index 1010f8ce4..1c3e91dd8 100644 --- a/Lucky/UnknownAcceptHeaderError.html +++ b/Lucky/UnknownAcceptHeaderError.html @@ -963,7 +963,7 @@

- + lucky/errors.cr @@ -1129,7 +1129,7 @@


- [View source] + [View source]
@@ -1159,7 +1159,7 @@


- [View source] + [View source]
@@ -1175,7 +1175,7 @@


- [View source] + [View source]
@@ -1191,7 +1191,7 @@


- [View source] + [View source]
diff --git a/Lucky/UploadedFile.html b/Lucky/UploadedFile.html index 1011ffdcd..2b94d6c23 100644 --- a/Lucky/UploadedFile.html +++ b/Lucky/UploadedFile.html @@ -960,7 +960,7 @@

- + lucky/uploaded_file.cr @@ -1160,7 +1160,7 @@


- [View source] + [View source]
@@ -1197,7 +1197,7 @@


- [View source] + [View source]
@@ -1213,7 +1213,7 @@


- [View source] + [View source]
@@ -1229,7 +1229,7 @@


- [View source] + [View source]
@@ -1251,7 +1251,7 @@


- [View source] + [View source]
@@ -1272,7 +1272,7 @@


- [View source] + [View source]
@@ -1288,7 +1288,7 @@


- [View source] + [View source]
@@ -1304,7 +1304,7 @@


- [View source] + [View source]
@@ -1320,7 +1320,7 @@


- [View source] + [View source]
@@ -1336,7 +1336,7 @@


- [View source] + [View source]
@@ -1358,7 +1358,7 @@


- [View source] + [View source]
@@ -1374,7 +1374,7 @@


- [View source] + [View source]
@@ -1390,7 +1390,7 @@


- [View source] + [View source]
@@ -1406,7 +1406,7 @@


- [View source] + [View source]
@@ -1422,7 +1422,7 @@


- [View source] + [View source]
@@ -1438,7 +1438,7 @@


- [View source] + [View source]
diff --git a/Lucky/UrlHelpers.html b/Lucky/UrlHelpers.html index d6c2ce4a5..548ecdbd7 100644 --- a/Lucky/UrlHelpers.html +++ b/Lucky/UrlHelpers.html @@ -961,7 +961,7 @@

- + lucky/page_helpers/url_helpers.cr @@ -1068,7 +1068,7 @@


- [View source] + [View source]
@@ -1108,7 +1108,7 @@


- [View source] + [View source]
@@ -1137,7 +1137,7 @@


- [View source] + [View source]
diff --git a/Lucky/VerifyAcceptsFormat.html b/Lucky/VerifyAcceptsFormat.html index d93f52a97..7f05f59e3 100644 --- a/Lucky/VerifyAcceptsFormat.html +++ b/Lucky/VerifyAcceptsFormat.html @@ -972,7 +972,7 @@

- + lucky/verify_accepts_format.cr @@ -1063,7 +1063,7 @@


- [View source] + [View source]
@@ -1110,7 +1110,7 @@


- [View source] + [View source]
@@ -1134,7 +1134,7 @@


- [View source] + [View source]
diff --git a/Lucky/WelcomePage.html b/Lucky/WelcomePage.html index e21625969..ac86b1f71 100644 --- a/Lucky/WelcomePage.html +++ b/Lucky/WelcomePage.html @@ -974,7 +974,7 @@

- + lucky/welcome_page.cr @@ -2308,7 +2308,7 @@


- [View source] + [View source]
@@ -2343,7 +2343,7 @@


- [View source] + [View source]
@@ -2371,7 +2371,7 @@


- [View source] + [View source]
diff --git a/Nil.html b/Nil.html index 9e2f63f5c..9b7a87c09 100644 --- a/Nil.html +++ b/Nil.html @@ -989,7 +989,7 @@

- + charms/object.cr @@ -1088,7 +1088,7 @@


- [View source] + [View source]
diff --git a/Object.html b/Object.html index eb4b84c35..4a4a1c8f1 100644 --- a/Object.html +++ b/Object.html @@ -976,7 +976,7 @@

- + charms/object.cr @@ -1076,7 +1076,7 @@


- [View source] + [View source]
@@ -1092,7 +1092,7 @@


- [View source] + [View source]
diff --git a/String.html b/String.html index b49ab8e7d..b3a79bff7 100644 --- a/String.html +++ b/String.html @@ -1063,7 +1063,7 @@

- + charms/string_extensions.cr @@ -1188,7 +1188,7 @@


- [View source] + [View source]
@@ -1204,7 +1204,7 @@


- [View source] + [View source]
diff --git a/UUID.html b/UUID.html index b1ddf22cf..d15d95772 100644 --- a/UUID.html +++ b/UUID.html @@ -977,7 +977,7 @@

- + charms/uuid_extensions.cr @@ -1106,7 +1106,7 @@


- [View source] + [View source]
diff --git a/index.json b/index.json index 088ba1eaa..578bfc04d 100644 --- a/index.json +++ b/index.json @@ -1 +1 @@ -{"repository_name":"lucky","body":"[![github banner-short](https://user-images.githubusercontent.com/22394/26989908-dd99cc2c-4d22-11e7-9576-c6aeada2bd63.png)](http://luckyframework.org)\n\n[![Version](https://img.shields.io/github/tag/luckyframework/lucky.svg?maxAge=360&label=version)](https://github.com/luckyframework/lucky/releases/latest)\n[![License](https://img.shields.io/github/license/luckyframework/lucky.svg)](https://github.com/luckyframework/lucky/blob/main/LICENSE)\n\n[![API Documentation Website](https://img.shields.io/website?down_color=red&down_message=Offline&label=API%20Documentation&up_message=Online&url=https%3A%2F%2Fluckyframework.github.io%2Flucky%2F)](https://luckyframework.github.io/lucky)\n[![Lucky Guides Website](https://img.shields.io/website?down_color=red&down_message=Offline&label=Lucky%20Guides&up_message=Online&url=https%3A%2F%2Fluckyframework.org%2Fguides)](https://luckyframework.org/guides)\n\n[![Discord](https://img.shields.io/discord/743896265057632256)](https://discord.gg/HeqJUcb)\n\nThe goal: prevent bugs, forget about most performance issues, and spend more\ntime on code instead of debugging and fixing tests.\n\nIn summary, make writing stunning web applications fast, fun, and easy.\n\n## Coming from Rails?\n\n- [Ruby on Rails to Lucky on Crystal: Blazing fast, fewer bugs, and even more fun.\n ](https://hackernoon.com/ruby-on-rails-to-lucky-on-crystal-blazing-fast-fewer-bugs-and-even-more-fun-104010913fec)\n\n## Try Lucky\n\nLucky has a [fresh new set of guides](https://luckyframework.org/guides/) that\nmake it easy to get started.\n\nFeel free to say hi or ask questions on our\n[chat room](https://luckyframework.org/chat).\n\nOr you can copy a real working app with [Lucky JumpStart](https://github.com/stephendolan/lucky_jumpstart/).\n\n## Installing Lucky\n\nTo install Lucky, read the [Installing Lucky](https://luckyframework.org/guides/getting-started/installing) guides for your Operating System.\nThe guide will walk you through installing a command-line utility used for generating new Lucky applications.\n\n## Keep up-to-date\n\nKeep up to date by following [@luckyframework](https://twitter.com/luckyframework) on Twitter.\n\n## Documentation\n\n[API (main)](https://luckyframework.github.io/lucky/)\n\n## What's it look like?\n\n### JSON endpoint:\n\n```crystal\nclass Api::Users::Show < ApiAction\n get \"/api/users/:user_id\" do\n user = UserQuery.find(user_id)\n json UserSerializer.new(user)\n end\nend\n```\n\n- If you want you can set up custom routes like `get \"/sign_in\"` for non REST routes.\n- A `user_id` method is generated because there is a `user_id` route parameter.\n- Use `json` to render JSON. [Extract\n serializers](https://luckyframework.org/guides/writing-json-apis/#respond-with-json)\n for reusable JSON responses.\n\n### Database models\n\n```crystal\n# Set up the model\nclass User < BaseModel\n table do\n column last_active_at : Time\n column last_name : String\n column nickname : String?\n end\nend\n```\n\n- Sets up the columns that you’d like to use, along with their types\n- You can add `?` to the type when the column can be `nil` . Crystal will then\n help you remember not to call methods on it that won't work.\n- Lucky will set up presence validations for required fields\n (`last_active_at` and `last_name` since they are not marked as nilable).\n\n### Querying the database\n\n```crystal\n# Add some methods to help query the database\nclass UserQuery < User::BaseQuery\n def recently_active\n last_active_at.gt(1.week.ago)\n end\n\n def sorted_by_last_name\n last_name.lower.desc_order\n end\nend\n\n# Query the database\nUserQuery.new.recently_active.sorted_by_last_name\n```\n\n- `User::BaseQuery` is automatically generated when you define a model. Inherit\n from it to customize queries.\n- Set up named scopes with instance methods.\n- Lucky sets up methods for all the columns so that if you mistype a column\n name it will tell you at compile-time.\n- Use the `lower` method on a `String` column to make sure Postgres sorts\n everything in lowercase.\n- Use `gt` to get users last active greater than 1 week ago. Lucky has lots\n of powerful abstractions for creating complex queries, and type specific\n methods (like `lower`).\n\n### Rendering HTML:\n\n```crystal\nclass Users::Index < BrowserAction\n get \"/users\" do\n users = UserQuery.new.sorted_by_last_name\n render IndexPage, users: users\n end\nend\n\nclass Users::IndexPage < MainLayout\n needs users : UserQuery\n\n def content\n render_new_user_button\n render_user_list\n end\n\n private def render_new_user_button\n link \"New User\", to: Users::New\n end\n\n private def render_user_list\n ul class: \"user-list\" do\n users.each do |user|\n li do\n link user.name, to: Users::Show.with(user.id)\n text \" - \"\n text user.nickname || \"No Nickname\"\n end\n end\n end\n end\nend\n```\n\n- `needs users : UserQuery` tells the compiler that it must be passed users\n of the type `UserQuery`.\n- If you forget to pass something that a page needs, it will let you know at\n compile time. **Fewer bugs and faster debugging**.\n- Write tags with Crystal methods. Tags are automatically closed and\n whitespace is removed.\n- Easily extract named methods since pages are made of regular classes and\n methods. **This makes your HTML pages incredibly easy to read.**\n- Link to other pages with ease. Just use the action name: `Users::New`. Pass\n params using `with`: `Users::Show.with(user.id)`. No more trying to remember path\n helpers and whether the helper is pluralized or not - If you forget to pass a\n param to a route, Lucky will let you know at compile-time.\n- Since we defined `column nickname : String?` as nilable, Lucky would fail\n to compile the page if you just did `text user.nickname` since it disallows\n printing `nil`. So instead we add a fallback `\"No Nickname\"`. **No more\n accidentally printing empty text in HTML!**\n\n## Testing\n\nYou need to make sure to install the Crystal dependencies.\n\n1. Run `shards install`\n1. Run `crystal spec` from the project root.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n### Lucky to have you!\n\nWe love all of the community members that have put in hard work to make Lucky better.\nIf you're one of those people, we want to give you a t-shirt!\n\nTo get a shirt, we ask that you have made a significant contribution to Lucky.\nThis includes things like submitting PRs with bug fixes and feature implementations, helping other members\nwork through problems, and deploying real world applications using Lucky!\n\nTo claim your shirt, [fill in this form](https://forms.gle/w3PJ4pww8WDAuJov5).\n\n## Contributors\n\n- [paulcsmith](https://github.com/paulcsmith) Paul Smith - creator, maintainer\n- [Our wonderful community](https://github.com/luckyframework/lucky/graphs/contributors) - ❤️\n\n## Thanks & attributions\n\n- SessionHandler, CookieHandler and FlashHandler are based on [Amber](https://github.com/amberframework/amber). Thank you to the Amber team!\n- Thanks to Rails for inspiring many of the ideas that are easy to take for\n granted. Convention over configuration, removing boilerplate, and most\n importantly - focusing on developer happiness.\n- Thanks to Phoenix, Ecto and Elixir for inspiring Avram's save operations,\n Lucky's single base actions and pipes, and focusing on helpful error\n messages.\n- `lucky watch` based heavily on [Sentry](https://github.com/samueleaton/sentry). Thanks [@samueleaton](https://github.com/samueleaton)!\n","program":{"html_id":"lucky/toplevel","path":"toplevel.html","kind":"module","full_name":"Top Level Namespace","name":"Top Level Namespace","abstract":false,"locations":[],"repository_name":"lucky","program":true,"enum":false,"alias":false,"const":false,"types":[{"html_id":"lucky/Bool","path":"Bool.html","kind":"struct","full_name":"Bool","name":"Bool","abstract":false,"superclass":{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},"ancestors":[{"html_id":"lucky/Lucky/AllowedInTags","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags"},{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/charms/bool_extensions.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/bool_extensions.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/AllowedInTags","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags"}],"doc":"Bool has only two possible values: `true` and `false`. They are constructed using these literals:\n\n```\ntrue # A Bool that is true\nfalse # A Bool that is false\n```\n\nSee [`Bool` literals](https://crystal-lang.org/reference/syntax_and_semantics/literals/bool.html) in the language reference.","summary":"

Bool has only two possible values: true and false.

"},{"html_id":"lucky/Char","path":"Char.html","kind":"struct","full_name":"Char","name":"Char","abstract":false,"superclass":{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},"ancestors":[{"html_id":"lucky/Steppable","kind":"module","full_name":"Steppable","name":"Steppable"},{"html_id":"lucky/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/charms/object.cr","line_number":18,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/object.cr#L18"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"lucky/Steppable","kind":"module","full_name":"Steppable","name":"Steppable"}],"doc":"A `Char` represents a [Unicode](http://en.wikipedia.org/wiki/Unicode) [code point](http://en.wikipedia.org/wiki/Code_point).\nIt occupies 32 bits.\n\nIt is created by enclosing an UTF-8 character in single quotes.\n\n```\n'a'\n'z'\n'0'\n'_'\n'あ'\n```\n\nYou can use a backslash to denote some characters:\n\n```\n'\\'' # single quote\n'\\\\' # backslash\n'\\e' # escape\n'\\f' # form feed\n'\\n' # newline\n'\\r' # carriage return\n'\\t' # tab\n'\\v' # vertical tab\n```\n\nYou can use a backslash followed by an *u* and four hexadecimal characters to denote a unicode codepoint written:\n\n```\n'\\u0041' # == 'A'\n```\n\nOr you can use curly braces and specify up to four hexadecimal numbers:\n\n```\n'\\u{41}' # == 'A'\n```\n\nSee [`Char` literals](https://crystal-lang.org/reference/syntax_and_semantics/literals/char.html) in the language reference.","summary":"

A Char represents a Unicode code point.

","instance_methods":[{"html_id":"blank?:Bool-instance-method","name":"blank?","abstract":false,"location":{"filename":"src/charms/object.cr","line_number":19,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/object.cr#L19"},"def":{"name":"blank?","return_type":"Bool","visibility":"Public","body":"case ord\nwhen 9, 10, 11, 12, 13, 32, 133, 160, 5760, 6158, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8232, 8233, 8239, 8287, 12288\n true\nelse\n false\nend"}}]},{"html_id":"lucky/Hash","path":"Hash.html","kind":"class","full_name":"Hash(K, V)","name":"Hash","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Iterable","kind":"module","full_name":"Iterable","name":"Iterable"},{"html_id":"lucky/Enumerable","kind":"module","full_name":"Enumerable","name":"Enumerable"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/charms/hash_extensions.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/hash_extensions.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Enumerable","kind":"module","full_name":"Enumerable","name":"Enumerable"},{"html_id":"lucky/Iterable","kind":"module","full_name":"Iterable","name":"Iterable"}],"doc":"A `Hash` represents a collection of key-value mappings, similar to a dictionary.\n\nMain operations are storing a key-value mapping (`#[]=`) and\nquerying the value associated to a key (`#[]`). Key-value mappings can also be\ndeleted (`#delete`).\nKeys are unique within a hash. When adding a key-value mapping with a key that\nis already in use, the old value will be forgotten.\n\n```\n# Create a new Hash for mapping String to Int32\nhash = Hash(String, Int32).new\nhash[\"one\"] = 1\nhash[\"two\"] = 2\nhash[\"one\"] # => 1\n```\n\n[Hash literals](https://crystal-lang.org/reference/syntax_and_semantics/literals/hash.html)\ncan also be used to create a `Hash`:\n\n```\n{\"one\" => 1, \"two\" => 2}\n```\n\nImplementation is based on an open hash table.\nTwo objects refer to the same hash key when their hash value (`Object#hash`)\nis identical and both objects are equal to each other (`Object#==`).\n\nEnumeration follows the order that the corresponding keys were inserted.\n\nNOTE: When using mutable data types as keys, changing the value of a key after\nit was inserted into the `Hash` may lead to undefined behaviour. This can be\nrestored by re-indexing the hash with `#rehash`.","summary":"

A Hash represents a collection of key-value mappings, similar to a dictionary.

","instance_methods":[{"html_id":"get(key:String|Symbol):V|Nil-instance-method","name":"get","doc":"Return the **nilable** value of a hash key\n\nThis returns a value stored in a hash. The key can be specified as a String\nor Symbol. Internally this works by converting Symbols to Strings. See the\ncode below for an example. It returns `nil` if the value doesn't exist:\n\n```\nhash = {\"name\" => \"Karin\"}\nhash.get(:name) # => \"Karin\" : (String | Nil)\nhash.get(\"name\") # => \"Karin\" : (String | Nil)\nhash.get(:asdf) # => nil : (String | Nil)\n```","summary":"

Return the nilable value of a hash key

","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : V | Nil","args_html":"(key : String | Symbol) : V | Nil","location":{"filename":"src/charms/hash_extensions.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/hash_extensions.cr#L14"},"def":{"name":"get","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"V | ::Nil","visibility":"Public","body":"self[key.to_s]?"}},{"html_id":"get!(key:String|Symbol):V-instance-method","name":"get!","doc":"Return the value of a hash key\n\nThis returns a value stored in a hash. The key can be specified as a String\nor Symbol. Internally this works by converting Symbols to Strings. See the\ncode below for an example. It throws a `KeyError` if the value doesn't\nexist:\n\n```\nhash = {\"name\" => \"Karin\"}\nhash.get(:name) # => \"Karin\" : String\nhash.get(\"name\") # => \"Karin\" : String\nhash.get(:asdf) # => KeyError\n```","summary":"

Return the value of a hash key

","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : V","args_html":"(key : String | Symbol) : V","location":{"filename":"src/charms/hash_extensions.cr","line_number":31,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/hash_extensions.cr#L31"},"def":{"name":"get!","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"V","visibility":"Public","body":"self[key.to_s]"}}]},{"html_id":"lucky/Int16","path":"Int16.html","kind":"struct","full_name":"Int16","name":"Int16","abstract":false,"superclass":{"html_id":"lucky/Int","kind":"struct","full_name":"Int","name":"Int"},"ancestors":[{"html_id":"lucky/Lucky/AllowedInTags","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags"},{"html_id":"lucky/Int","kind":"struct","full_name":"Int","name":"Int"},{"html_id":"lucky/Number","kind":"struct","full_name":"Number","name":"Number"},{"html_id":"lucky/Steppable","kind":"module","full_name":"Steppable","name":"Steppable"},{"html_id":"lucky/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/charms/int16_extensions.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/int16_extensions.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/AllowedInTags","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags"}],"instance_methods":[{"html_id":"to_param:String-instance-method","name":"to_param","abstract":false,"location":{"filename":"src/charms/int16_extensions.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/int16_extensions.cr#L6"},"def":{"name":"to_param","return_type":"String","visibility":"Public","body":"self.to_s"}}]},{"html_id":"lucky/Int32","path":"Int32.html","kind":"struct","full_name":"Int32","name":"Int32","abstract":false,"superclass":{"html_id":"lucky/Int","kind":"struct","full_name":"Int","name":"Int"},"ancestors":[{"html_id":"lucky/Lucky/AllowedInTags","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags"},{"html_id":"lucky/Int","kind":"struct","full_name":"Int","name":"Int"},{"html_id":"lucky/Number","kind":"struct","full_name":"Number","name":"Number"},{"html_id":"lucky/Steppable","kind":"module","full_name":"Steppable","name":"Steppable"},{"html_id":"lucky/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/charms/int32_extensions.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/int32_extensions.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/AllowedInTags","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags"}],"instance_methods":[{"html_id":"to_param:String-instance-method","name":"to_param","abstract":false,"location":{"filename":"src/charms/int32_extensions.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/int32_extensions.cr#L6"},"def":{"name":"to_param","return_type":"String","visibility":"Public","body":"self.to_s"}}]},{"html_id":"lucky/Int64","path":"Int64.html","kind":"struct","full_name":"Int64","name":"Int64","abstract":false,"superclass":{"html_id":"lucky/Int","kind":"struct","full_name":"Int","name":"Int"},"ancestors":[{"html_id":"lucky/Lucky/AllowedInTags","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags"},{"html_id":"lucky/Int","kind":"struct","full_name":"Int","name":"Int"},{"html_id":"lucky/Number","kind":"struct","full_name":"Number","name":"Number"},{"html_id":"lucky/Steppable","kind":"module","full_name":"Steppable","name":"Steppable"},{"html_id":"lucky/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/charms/int64_extensions.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/int64_extensions.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/AllowedInTags","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags"}],"instance_methods":[{"html_id":"to_param:String-instance-method","name":"to_param","abstract":false,"location":{"filename":"src/charms/int64_extensions.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/int64_extensions.cr#L6"},"def":{"name":"to_param","return_type":"String","visibility":"Public","body":"self.to_s"}}]},{"html_id":"lucky/Lucky","path":"Lucky.html","kind":"module","full_name":"Lucky","name":"Lucky","abstract":false,"locations":[{"filename":"src/lucky.cr","line_number":25,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky.cr#L25"},{"filename":"src/lucky/errors.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L1"},{"filename":"src/lucky/memoizable.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/memoizable.cr#L1"},{"filename":"src/lucky/secure_headers/disable_floc.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/disable_floc.cr#L1"},{"filename":"src/lucky/secure_headers/set_csp_guard.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_csp_guard.cr#L1"},{"filename":"src/lucky/secure_headers/set_frame_guard.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_frame_guard.cr#L1"},{"filename":"src/lucky/secure_headers/set_sniff_guard.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_sniff_guard.cr#L1"},{"filename":"src/lucky/secure_headers/set_xss_guard.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_xss_guard.cr#L1"},{"filename":"src/lucky/support/message_encryptor.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L5"},{"filename":"src/lucky/support/message_verifier.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_verifier.cr#L4"},{"filename":"src/lucky/version.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/version.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ContinuedPipeLog","name":"ContinuedPipeLog","value":"Log.for(\"continued_pipe_log\")"},{"id":"Log","name":"Log","value":"::Log.for(\"lucky\")"},{"id":"ROUTER","name":"ROUTER","value":"Lucky::Router.new"},{"id":"VERSION","name":"VERSION","value":"\"1.1.0\""}],"class_methods":[{"html_id":"root-class-method","name":"root","doc":"Use Dir.current to return the root folder of your Lucky application.\n\nIn some frameworks there is a method called `root` that returns the root directory of the project.\nIn Crystal there is a built-in method for this: `Dir.current`. This method exists purely to help new users\nfind `Dir.current`. If you call `Lucky.root` it will raise a compile-time error directing you to use `Dir.current`","summary":"

Use Dir.current to return the root folder of your Lucky application.

","abstract":false,"location":{"filename":"src/lucky.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky.cr#L36"},"def":{"name":"root","visibility":"Public","body":"{% raise(\"Please use Crystal's 'Dir.current' to return the root folder of your Lucky application.\") %}"}},{"html_id":"router:Lucky::Router-class-method","name":"router","abstract":false,"location":{"filename":"src/lucky.cr","line_number":40,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky.cr#L40"},"def":{"name":"router","return_type":"Lucky::Router","visibility":"Public","body":"ROUTER"}}],"macros":[{"html_id":"set_version-macro","name":"set_version","abstract":false,"location":{"filename":"src/lucky/version.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/version.cr#L2"},"def":{"name":"set_version","visibility":"Public","body":" VERSION = \n{{ (`shards version \\\"/home/runner/work/lucky/lucky/src/lucky\\\"`).chomp.stringify.downcase }}\n\n \n"}}],"types":[{"html_id":"lucky/Lucky/Action","path":"Lucky/Action.html","kind":"class","full_name":"Lucky::Action","name":"Action","abstract":true,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Lucky/VerifyAcceptsFormat","kind":"module","full_name":"Lucky::VerifyAcceptsFormat","name":"VerifyAcceptsFormat"},{"html_id":"lucky/Lucky/Redirectable","kind":"module","full_name":"Lucky::Redirectable","name":"Redirectable"},{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/ActionPipes","kind":"module","full_name":"Lucky::ActionPipes","name":"ActionPipes"},{"html_id":"lucky/Lucky/ParamHelpers","kind":"module","full_name":"Lucky::ParamHelpers","name":"ParamHelpers"},{"html_id":"lucky/Lucky/Renderable","kind":"module","full_name":"Lucky::Renderable","name":"Renderable"},{"html_id":"lucky/Lucky/Routable","kind":"module","full_name":"Lucky::Routable","name":"Routable"},{"html_id":"lucky/Lucky/Exposable","kind":"module","full_name":"Lucky::Exposable","name":"Exposable"},{"html_id":"lucky/Lucky/RequestTypeHelpers","kind":"module","full_name":"Lucky::RequestTypeHelpers","name":"RequestTypeHelpers"},{"html_id":"lucky/Lucky/ActionDelegates","kind":"module","full_name":"Lucky::ActionDelegates","name":"ActionDelegates"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/action.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"AFTER_PIPES","name":"AFTER_PIPES","value":"[] of Symbol"},{"id":"BEFORE_PIPES","name":"BEFORE_PIPES","value":"[verify_accepted_format] of Symbol"},{"id":"EXPOSURES","name":"EXPOSURES","value":"[] of Symbol"},{"id":"PARAM_DECLARATIONS","name":"PARAM_DECLARATIONS","value":"[] of Crystal::Macros::TypeDeclaration"},{"id":"ROUTE_SETTINGS","name":"ROUTE_SETTINGS","value":"{prefix: \"\"}"},{"id":"SKIPPED_PIPES","name":"SKIPPED_PIPES","value":"[] of Symbol"}],"included_modules":[{"html_id":"lucky/Lucky/ActionDelegates","kind":"module","full_name":"Lucky::ActionDelegates","name":"ActionDelegates"},{"html_id":"lucky/Lucky/ActionPipes","kind":"module","full_name":"Lucky::ActionPipes","name":"ActionPipes"},{"html_id":"lucky/Lucky/Exposable","kind":"module","full_name":"Lucky::Exposable","name":"Exposable"},{"html_id":"lucky/Lucky/ParamHelpers","kind":"module","full_name":"Lucky::ParamHelpers","name":"ParamHelpers"},{"html_id":"lucky/Lucky/Redirectable","kind":"module","full_name":"Lucky::Redirectable","name":"Redirectable"},{"html_id":"lucky/Lucky/Renderable","kind":"module","full_name":"Lucky::Renderable","name":"Renderable"},{"html_id":"lucky/Lucky/RequestTypeHelpers","kind":"module","full_name":"Lucky::RequestTypeHelpers","name":"RequestTypeHelpers"},{"html_id":"lucky/Lucky/Routable","kind":"module","full_name":"Lucky::Routable","name":"Routable"},{"html_id":"lucky/Lucky/VerifyAcceptsFormat","kind":"module","full_name":"Lucky::VerifyAcceptsFormat","name":"VerifyAcceptsFormat"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"_accepted_formats-class-method","name":"_accepted_formats","abstract":false,"location":{"filename":"src/lucky/action.cr","line_number":21,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action.cr#L21"},"def":{"name":"_accepted_formats","visibility":"Public","body":"[] of Symbol"}},{"html_id":"query_param_declarations:Array(String)-class-method","name":"query_param_declarations","abstract":false,"def":{"name":"query_param_declarations","return_type":"Array(String)","visibility":"Public","body":"@@query_param_declarations"}}],"constructors":[{"html_id":"new(context:HTTP::Server::Context,route_params:Hash(String,String))-class-method","name":"new","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"},{"name":"route_params","external_name":"route_params","restriction":"Hash(String, String)"}],"args_string":"(context : HTTP::Server::Context, route_params : Hash(String, String))","args_html":"(context : HTTP::Server::Context, route_params : Hash(String, String))","location":{"filename":"src/lucky/action.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action.cr#L7"},"def":{"name":"new","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"},{"name":"route_params","external_name":"route_params","restriction":"Hash(String, String)"}],"visibility":"Public","body":"_ = allocate\n_.initialize(context, route_params)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"call-instance-method","name":"call","abstract":true,"location":{"filename":"src/lucky/action.cr","line_number":11,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action.cr#L11"},"def":{"name":"call","visibility":"Public","body":""}},{"html_id":"context:HTTP::Server::Context-instance-method","name":"context","abstract":false,"location":{"filename":"src/lucky/action.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action.cr#L4"},"def":{"name":"context","return_type":"HTTP::Server::Context","visibility":"Public","body":"@context"}},{"html_id":"cookies(*args,**options)-instance-method","name":"cookies","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"cookies","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.cookies(*args, **options)"}},{"html_id":"cookies(*args,**options,&)-instance-method","name":"cookies","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"cookies","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.cookies(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"flash(*args,**options)-instance-method","name":"flash","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"flash","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.flash(*args, **options)"}},{"html_id":"flash(*args,**options,&)-instance-method","name":"flash","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"flash","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.flash(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"request(*args,**options)-instance-method","name":"request","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"request","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.request(*args, **options)"}},{"html_id":"request(*args,**options,&)-instance-method","name":"request","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"request","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.request(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"response(*args,**options)-instance-method","name":"response","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"response","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.response(*args, **options)"}},{"html_id":"response(*args,**options,&)-instance-method","name":"response","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"response","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.response(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"route_params:Hash(String,String)-instance-method","name":"route_params","abstract":false,"location":{"filename":"src/lucky/action.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action.cr#L5"},"def":{"name":"route_params","return_type":"Hash(String, String)","visibility":"Public","body":"@route_params"}},{"html_id":"session(*args,**options)-instance-method","name":"session","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"session","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.session(*args, **options)"}},{"html_id":"session(*args,**options,&)-instance-method","name":"session","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"session","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.session(*args, **options) do |*yield_args|\n yield *yield_args\nend"}}]},{"html_id":"lucky/Lucky/ActionPipes","path":"Lucky/ActionPipes.html","kind":"module","full_name":"Lucky::ActionPipes","name":"ActionPipes","abstract":false,"locations":[{"filename":"src/lucky/action_pipes.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action_pipes.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/Action","kind":"class","full_name":"Lucky::Action","name":"Action"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"continue:Lucky::ActionPipes::Continue-instance-method","name":"continue","doc":"Call this in a pipe to continue to the next pipe or action","summary":"

Call this in a pipe to continue to the next pipe or action

","abstract":false,"location":{"filename":"src/lucky/action_pipes.cr","line_number":182,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action_pipes.cr#L182"},"def":{"name":"continue","return_type":"Lucky::ActionPipes::Continue","visibility":"Public","body":"Lucky::ActionPipes::Continue.new"}}],"macros":[{"html_id":"after(method_name)-macro","name":"after","doc":"Run a method after an action ends\n\n`after` isn't as common as `before` but can still be useful. One example\nwould be to log a successful transaction to analytics. Methods will run in\nthe order that each `after` is defined. Also, each method must return\neither a `Lucky::Response` like `redirect`, `html`, `json`, etc, or call\n`continue`:\n\n```\nclass Purchases::Create < BrowserAction\n after log_transaction\n\n post \"/purchases\" do\n # purchase the product\n end\n\n def log_transaction\n # send the purchase to analytics\n continue\n end\nend\n```","summary":"

Run a method after an action ends

","abstract":false,"args":[{"name":"method_name","external_name":"method_name","restriction":""}],"args_string":"(method_name)","args_html":"(method_name)","location":{"filename":"src/lucky/action_pipes.cr","line_number":110,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action_pipes.cr#L110"},"def":{"name":"after","args":[{"name":"method_name","external_name":"method_name","restriction":""}],"visibility":"Public","body":" \n{% AFTER_PIPES << method_name.id %}\n\n \n"}},{"html_id":"before(method_name)-macro","name":"before","doc":"Run a method before an action is called\n\nMethods will run in the order that each `before` is defined. Also, each\nmethod must return a `Lucky::Response` like `redirect`, `html`, `json`,\netc, or call `continue`:\n\n```\nclass Users::Destroy < BrowserAction\n before check_if_signed_in\n before confirm_destroy\n\n delete \"/:user_id\" do\n # destroy the user :(\n end\n\n def check_if_signed_in\n if current_user.nil?\n redirect to: SignInPage\n else\n continue\n end\n end\n\n def confirm_destroy\n # confirm that the user should be destroyed\n continue\n end\nend\n```","summary":"

Run a method before an action is called

","abstract":false,"args":[{"name":"method_name","external_name":"method_name","restriction":""}],"args_string":"(method_name)","args_html":"(method_name)","location":{"filename":"src/lucky/action_pipes.cr","line_number":84,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action_pipes.cr#L84"},"def":{"name":"before","args":[{"name":"method_name","external_name":"method_name","restriction":""}],"visibility":"Public","body":" \n{% BEFORE_PIPES << method_name.id %}\n\n \n"}},{"html_id":"skip(*pipes)-macro","name":"skip","doc":"Skips before or after pipes\n\n```\nskip require_sign_in, require_organization\n```","summary":"

Skips before or after pipes

","abstract":false,"args":[{"name":"pipes","external_name":"pipes","restriction":""}],"args_string":"(*pipes)","args_html":"(*pipes)","location":{"filename":"src/lucky/action_pipes.cr","line_number":11,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/action_pipes.cr#L11"},"def":{"name":"skip","args":[{"name":"pipes","external_name":"pipes","restriction":""}],"splat_index":0,"visibility":"Public","body":" \n{% for pipe in pipes %}\n {% if (BEFORE_PIPES.includes?(pipe.id)) || (AFTER_PIPES.includes?(pipe.id)) %}\n {% SKIPPED_PIPES << pipe.id %}\n {% else %}\n {% pipe.raise(\"Can't skip '#{pipe}' because the pipe is not used.\\nCheck the spelling of the pipe that you are trying to skip.\".lines.join(\" \")) %}\n {% end %}\n {% end %}\n\n \n"}}]},{"html_id":"lucky/Lucky/AllowedInTags","path":"Lucky/AllowedInTags.html","kind":"module","full_name":"Lucky::AllowedInTags","name":"AllowedInTags","abstract":false,"locations":[{"filename":"src/lucky/allowed_in_tags.cr","line_number":27,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/allowed_in_tags.cr#L27"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Bool","kind":"struct","full_name":"Bool","name":"Bool"},{"html_id":"lucky/Int16","kind":"struct","full_name":"Int16","name":"Int16"},{"html_id":"lucky/Int32","kind":"struct","full_name":"Int32","name":"Int32"},{"html_id":"lucky/Int64","kind":"struct","full_name":"Int64","name":"Int64"},{"html_id":"lucky/UUID","kind":"struct","full_name":"UUID","name":"UUID"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Include this module in a type to allow it to be output in tags\n\nLucky already includes this in a few common types like `Int` and `Bool`.\nTypically this is enough but if you have a type you want to allow in tags, you\ncan do so.\n\nFor example:\n\n```\nclass EmailAddress\n include Lucky::AllowedInTags\n\n def initialize(@value : String)\n end\n\n def to_s(io)\n io.puts @value\n end\nend\n```\n\nNow an `EmailAddress` can be used for tag content without calling `to_s`:\n\n```\nh1 EmailAddress.new(\"myemail.com\")\n```","summary":"

Include this module in a type to allow it to be output in tags

"},{"html_id":"lucky/Lucky/AssetHelpers","path":"Lucky/AssetHelpers.html","kind":"module","full_name":"Lucky::AssetHelpers","name":"AssetHelpers","abstract":false,"locations":[{"filename":"src/lucky/asset_helpers.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/asset_helpers.cr#L7"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ASSET_MANIFEST","name":"ASSET_MANIFEST","value":"{} of String => String"},{"id":"CONFIG","name":"CONFIG","value":"{has_loaded_manifest: false}"}],"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Methods for returning the path to assets\n\nThese methods will return fingerprinted paths, check assets at compile time,\nand allow for setting a CDN.\n\nFor an in-depth guide check: https://luckyframework.org/guides/frontend/asset-handling","summary":"

Methods for returning the path to assets

","instance_methods":[{"html_id":"dynamic_asset(path):String-instance-method","name":"dynamic_asset","doc":"Return the string path to an asset (allows string interpolation)\n\n```\n# In a page or component\n# Will find the asset in `public/assets/images/logo.png`\nimg src: asset(\"images/logo.png\")\n\n# Can also be used elsewhere by prepending Lucky::AssetHelpers\nLucky::AssetHelpers.asset(\"images/logo.png\")\n```\n\nNOTE: This method does *not* check assets at compile time. The asset path\nis found at runtime so it is possible the asset does not exist. Be sure to\nmanually test that the asset is returned as expected.","summary":"

Return the string path to an asset (allows string interpolation)

","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""}],"args_string":"(path) : String","args_html":"(path) : String","location":{"filename":"src/lucky/asset_helpers.cr","line_number":93,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/asset_helpers.cr#L93"},"def":{"name":"dynamic_asset","args":[{"name":"path","external_name":"path","restriction":""}],"return_type":"String","visibility":"Public","body":"fingerprinted_path = Lucky::AssetHelpers::ASSET_MANIFEST[path]?\nif fingerprinted_path\n Lucky::Server.settings.asset_host + fingerprinted_path\nelse\n raise(\"Missing asset: #{path}\")\nend\n"}}],"macros":[{"html_id":"asset(path)-macro","name":"asset","doc":"Return the string path to an asset\n\n```\n# In a page or component:\n# Will find the asset in `public/assets/images/logo.png`\nimg src: asset(\"images/logo.png\")\n\n# Can also be used elsewhere by prepending Lucky::AssetHelpers\nLucky::AssetHelpers.asset(\"images/logo.png\")\n```\n\nNote that assets are checked at compile time so if it is not found, Lucky\nwill let you know. It will also let you know if you had a typo and suggest an\nasset that is close to what you typed.\n\nNOTE: This macro requires a `StringLiteral`. That means you cannot\ninterpolate strings like this: `asset(\"images/icon-#{service_name}.png\")`.\ninstead use `dynamic_asset` if you need string interpolation.","summary":"

Return the string path to an asset

","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""}],"args_string":"(path)","args_html":"(path)","location":{"filename":"src/lucky/asset_helpers.cr","line_number":41,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/asset_helpers.cr#L41"},"def":{"name":"asset","args":[{"name":"path","external_name":"path","restriction":""}],"visibility":"Public","body":" \n{% if CONFIG[:has_loaded_manifest] %}{% else %}\n {% raise(\"No manifest loaded. Call 'Lucky::AssetHelpers.load_manifest'\") %}\n {% end %}\n\n\n \n{% if path.is_a?(StringLiteral) %}\n {% if ::Lucky::AssetHelpers::ASSET_MANIFEST[path] %}\n Lucky::Server.settings.asset_host + {{ ::Lucky::AssetHelpers::ASSET_MANIFEST[path] }}\n {% else %}\n {% asset_paths = ::Lucky::AssetHelpers::ASSET_MANIFEST.keys.join(\",\") %}\n {{ run(\"../run_macros/missing_asset\", path, asset_paths) }}\n {% end %}\n {% else %}{% if path.is_a?(StringInterpolation) %}\n {% raise(\"\\n\\nThe 'asset' macro doesn't work with string interpolation\\n\\nTry this...\\n\\n ▸ Use the 'dynamic_asset' method instead\\n\") %}\n {% else %}\n {% raise(\"\\n\\nThe 'asset' macro requires a literal string like \\\"my-logo.png\\\", instead got: #{path}\\n\\nTry this...\\n\\n ▸ If you're using a variable, switch to a literal string\\n ▸ If you can't use a literal string, use the 'dynamic_asset' method instead\\n\") %}\n {% end %}{% end %}\n\n \n"}},{"html_id":"load_manifest(manifest_file=\"\")-macro","name":"load_manifest","abstract":false,"args":[{"name":"manifest_file","default_value":"\"\"","external_name":"manifest_file","restriction":""}],"args_string":"(manifest_file = \"\")","args_html":"(manifest_file = "")","location":{"filename":"src/lucky/asset_helpers.cr","line_number":11,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/asset_helpers.cr#L11"},"def":{"name":"load_manifest","args":[{"name":"manifest_file","default_value":"\"\"","external_name":"manifest_file","restriction":""}],"visibility":"Public","body":" \n{{ run(\"../run_macros/generate_asset_helpers\", manifest_file) }}\n\n \n{% CONFIG[:has_loaded_manifest] = true %}\n\n \n"}},{"html_id":"load_manifest(manifest_file,use_vite)-macro","name":"load_manifest","doc":"EXPERIMENTAL: This feature is experimental. Use this to test\nvite integration with Lucky","summary":"

EXPERIMENTAL This feature is experimental.

","abstract":false,"args":[{"name":"manifest_file","external_name":"manifest_file","restriction":""},{"name":"use_vite","external_name":"use_vite","restriction":""}],"args_string":"(manifest_file, use_vite)","args_html":"(manifest_file, use_vite)","location":{"filename":"src/lucky/asset_helpers.cr","line_number":18,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/asset_helpers.cr#L18"},"def":{"name":"load_manifest","args":[{"name":"manifest_file","external_name":"manifest_file","restriction":""},{"name":"use_vite","external_name":"use_vite","restriction":""}],"visibility":"Public","body":" \n{{ run(\"../run_macros/generate_asset_helpers\", manifest_file, use_vite) }}\n\n \n{% CONFIG[:has_loaded_manifest] = true %}\n\n \n"}}]},{"html_id":"lucky/Lucky/Assignable","path":"Lucky/Assignable.html","kind":"module","full_name":"Lucky::Assignable","name":"Assignable","abstract":false,"locations":[{"filename":"src/lucky/assignable.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/assignable.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ASSIGNS","name":"ASSIGNS","value":"[] of Nil"}],"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(**unused_exposures)-class-method","name":"new","abstract":false,"def":{"name":"new","double_splat":{"name":"unused_exposures","external_name":"unused_exposures","restriction":""},"visibility":"Public","body":"_ = allocate\n_.initialize(**unused_exposures)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"macros":[{"html_id":"generate_needy_initializer-macro","name":"generate_needy_initializer","abstract":false,"location":{"filename":"src/lucky/assignable.cr","line_number":87,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/assignable.cr#L87"},"def":{"name":"generate_needy_initializer","visibility":"Public","body":" \n{% if !@type.abstract? %}\n {% sorted_assigns = ASSIGNS.sort_by do |dec|\n has_explicit_value = (dec.type.is_a?(Metaclass) || (dec.type.types.map(&.id).includes?(Nil.id))) || (!dec.value.is_a?(Nop))\n has_explicit_value ? 1 : 0\nend %}\n def initialize(\n {% for declaration in sorted_assigns %}\n {% var = declaration.var %}\n {% type = declaration.type %}\n {% value = declaration.value %}\n {% if (type.stringify.ends_with?(\"Nil\")) && (!value)\n value = nil\nend %}\n @{{ var.id }} : {{ type }}{% if !value.is_a?(Nop) %} = {{ value }}{% end %},\n {% end %}\n **unused_exposures\n )\n end\n {% end %}\n\n \n"}},{"html_id":"needs(*type_declarations)-macro","name":"needs","doc":"Declare what a class needs in order to be initialized.\n\nThis will declare an instance variable and getter automatically. It will\nalso add arguments to an `initialize` method at the end of compilation.\n\n### Examples\n\n```\nclass Users::IndexPage < MainLayout\n # This page needs a `User` or it will fail to compile\n # You can access it with `@user` or the getter method `user`\n needs user : User\n\n # This page can take an optional `ProductQuery`. This means you can\n # Leave `products` off when rendering from an Action.\n needs products : ProductQuery?\n\n # When using a `Bool` Lucky will generate a method ending with `?`\n # So in this case you can call `should_show_sidebar?` in the page.\n needs should_show_sidebar : Bool = true\nend\n```","summary":"

Declare what a class needs in order to be initialized.

","abstract":false,"args":[{"name":"type_declarations","external_name":"type_declarations","restriction":""}],"args_string":"(*type_declarations)","args_html":"(*type_declarations)","location":{"filename":"src/lucky/assignable.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/assignable.cr#L24"},"def":{"name":"needs","args":[{"name":"type_declarations","external_name":"type_declarations","restriction":""}],"splat_index":0,"visibility":"Public","body":" \n{% for declaration in type_declarations %}\n {% if declaration.is_a?(TypeDeclaration) %}{% else %}\n {% raise(\"'needs' expects a type declaration like 'name : String', instead got: '#{declaration}'\") %}\n {% end %}\n\n # Ensure that the needs variable name has not been previously defined.\n {% previous_declaration = ASSIGNS.find do |d|\n d.var == declaration.var\nend %}\n {% if previous_declaration %}\n {% raise(\"\\n\\nDuplicate needs definition: '#{declaration}' defined in #{declaration.filename}:#{declaration.line_number}:#{declaration.column_number}\\nThis needs is already defined as '#{previous_declaration}' in #{previous_declaration.filename}:#{previous_declaration.line_number}:#{previous_declaration.column_number}\") %}\n {% end %}\n\n {% if declaration.type.stringify == \"Bool\" %}\n getter? {{ declaration.var }}\n {% else %}\n getter {{ declaration.var }}\n {% end %}\n\n {% ASSIGNS << declaration %}\n {% end %}\n\n \n"}},{"html_id":"setup_initializer_hook-macro","name":"setup_initializer_hook","abstract":false,"location":{"filename":"src/lucky/assignable.cr","line_number":73,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/assignable.cr#L73"},"def":{"name":"setup_initializer_hook","visibility":"Public","body":" macro finished\n generate_needy_initializer\n \nend\n\n macro included\n setup_initializer_hook\n \nend\n\n macro inherited\n setup_initializer_hook\n \nend\n \n"}}]},{"html_id":"lucky/Lucky/BaseAppServer","path":"Lucky/BaseAppServer.html","kind":"class","full_name":"Lucky::BaseAppServer","name":"BaseAppServer","abstract":true,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/base_app_server.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_app_server.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"The Base class for creating an app server in Lucky","summary":"

The Base class for creating an app server in Lucky

","constructors":[{"html_id":"new-class-method","name":"new","abstract":false,"location":{"filename":"src/lucky/base_app_server.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_app_server.cr#L8"},"def":{"name":"new","visibility":"Public","body":"_ = allocate\n_.initialize\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"listen-instance-method","name":"listen","abstract":true,"location":{"filename":"src/lucky/base_app_server.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_app_server.cr#L6"},"def":{"name":"listen","visibility":"Public","body":""}},{"html_id":"middleware:Array(HTTP::Handler)-instance-method","name":"middleware","abstract":true,"location":{"filename":"src/lucky/base_app_server.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_app_server.cr#L5"},"def":{"name":"middleware","return_type":"Array(HTTP::Handler)","visibility":"Public","body":""}}]},{"html_id":"lucky/Lucky/BaseComponent","path":"Lucky/BaseComponent.html","kind":"class","full_name":"Lucky::BaseComponent","name":"BaseComponent","abstract":true,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"},{"html_id":"lucky/Lucky/SvgInliner","kind":"module","full_name":"Lucky::SvgInliner","name":"SvgInliner"},{"html_id":"lucky/Lucky/LiveReloadTag","kind":"module","full_name":"Lucky::LiveReloadTag","name":"LiveReloadTag"},{"html_id":"lucky/Lucky/TagDefaults","kind":"module","full_name":"Lucky::TagDefaults","name":"TagDefaults"},{"html_id":"lucky/Lucky/RenderIfDefined","kind":"module","full_name":"Lucky::RenderIfDefined","name":"RenderIfDefined"},{"html_id":"lucky/Lucky/HelpfulParagraphError","kind":"module","full_name":"Lucky::HelpfulParagraphError","name":"HelpfulParagraphError"},{"html_id":"lucky/Lucky/MountComponent","kind":"module","full_name":"Lucky::MountComponent","name":"MountComponent"},{"html_id":"lucky/Lucky/ForgeryProtectionHelpers","kind":"module","full_name":"Lucky::ForgeryProtectionHelpers","name":"ForgeryProtectionHelpers"},{"html_id":"lucky/Lucky/TimeHelpers","kind":"module","full_name":"Lucky::TimeHelpers","name":"TimeHelpers"},{"html_id":"lucky/Lucky/UrlHelpers","kind":"module","full_name":"Lucky::UrlHelpers","name":"UrlHelpers"},{"html_id":"lucky/Lucky/HTMLTextHelpers","kind":"module","full_name":"Lucky::HTMLTextHelpers","name":"HTMLTextHelpers"},{"html_id":"lucky/Lucky/TextHelpers","kind":"module","full_name":"Lucky::TextHelpers","name":"TextHelpers"},{"html_id":"lucky/Lucky/NumberToCurrency","kind":"module","full_name":"Lucky::NumberToCurrency","name":"NumberToCurrency"},{"html_id":"lucky/Lucky/AssetHelpers","kind":"module","full_name":"Lucky::AssetHelpers","name":"AssetHelpers"},{"html_id":"lucky/Lucky/Assignable","kind":"module","full_name":"Lucky::Assignable","name":"Assignable"},{"html_id":"lucky/Lucky/SpecialtyTags","kind":"module","full_name":"Lucky::SpecialtyTags","name":"SpecialtyTags"},{"html_id":"lucky/Lucky/FormHelpers","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers"},{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/LinkHelpers","kind":"module","full_name":"Lucky::LinkHelpers","name":"LinkHelpers"},{"html_id":"lucky/Lucky/CustomTags","kind":"module","full_name":"Lucky::CustomTags","name":"CustomTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Lucky/BaseTags","kind":"module","full_name":"Lucky::BaseTags","name":"BaseTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/base_component.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_component.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ASSIGNS","name":"ASSIGNS","value":"[] of Nil"}],"included_modules":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"subclasses":[{"html_id":"lucky/Lucky/Paginator/BootstrapNav","kind":"class","full_name":"Lucky::Paginator::BootstrapNav","name":"BootstrapNav"},{"html_id":"lucky/Lucky/Paginator/BulmaNav","kind":"class","full_name":"Lucky::Paginator::BulmaNav","name":"BulmaNav"},{"html_id":"lucky/Lucky/Paginator/SimpleNav","kind":"class","full_name":"Lucky::Paginator::SimpleNav","name":"SimpleNav"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"context(context:HTTP::Server::Context|Nil):self-instance-method","name":"context","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context | ::Nil"}],"args_string":"(context : HTTP::Server::Context | Nil) : self","args_html":"(context : HTTP::Server::Context | Nil) : self","location":{"filename":"src/lucky/base_component.cr","line_number":28,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_component.cr#L28"},"def":{"name":"context","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context | ::Nil"}],"return_type":"self","visibility":"Public","body":"@context = context\nself\n"}},{"html_id":"render_to_string:String-instance-method","name":"render_to_string","abstract":false,"location":{"filename":"src/lucky/base_component.cr","line_number":33,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_component.cr#L33"},"def":{"name":"render_to_string","return_type":"String","visibility":"Public","body":"String.build do |io|\n view(io)\n render\nend.to_s"}}]},{"html_id":"lucky/Lucky/BaseHTTPClient","path":"Lucky/BaseHTTPClient.html","kind":"class","full_name":"Lucky::BaseHTTPClient","name":"BaseHTTPClient","abstract":true,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/base_http_client.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L6"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"A client for making HTTP requests\n\nMakes it easy to pass params, use Lucky route helpers, and chain header methods.","summary":"

A client for making HTTP requests

","class_methods":[{"html_id":"app(app:Lucky::BaseAppServer)-class-method","name":"app","abstract":false,"args":[{"name":"app","external_name":"app","restriction":"Lucky::BaseAppServer"}],"args_string":"(app : Lucky::BaseAppServer)","args_html":"(app : Lucky::BaseAppServer)","location":{"filename":"src/lucky/base_http_client.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L10"},"def":{"name":"app","args":[{"name":"app","external_name":"app","restriction":"Lucky::BaseAppServer"}],"visibility":"Public","body":"@@app = app"}},{"html_id":"delete(*args,**named_args)-class-method","name":"delete","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/base_http_client.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L24"},"def":{"name":"delete","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":"new.delete(*args, **named_args)"}},{"html_id":"exec(*args,**named_args)-class-method","name":"exec","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/base_http_client.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L24"},"def":{"name":"exec","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":"new.exec(*args, **named_args)"}},{"html_id":"get(*args,**named_args)-class-method","name":"get","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/base_http_client.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L24"},"def":{"name":"get","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":"new.get(*args, **named_args)"}},{"html_id":"head(*args,**named_args)-class-method","name":"head","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/base_http_client.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L24"},"def":{"name":"head","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":"new.head(*args, **named_args)"}},{"html_id":"options(*args,**named_args)-class-method","name":"options","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/base_http_client.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L24"},"def":{"name":"options","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":"new.options(*args, **named_args)"}},{"html_id":"patch(*args,**named_args)-class-method","name":"patch","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/base_http_client.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L24"},"def":{"name":"patch","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":"new.patch(*args, **named_args)"}},{"html_id":"post(*args,**named_args)-class-method","name":"post","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/base_http_client.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L24"},"def":{"name":"post","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":"new.post(*args, **named_args)"}},{"html_id":"put(*args,**named_args)-class-method","name":"put","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/base_http_client.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L24"},"def":{"name":"put","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":"new.put(*args, **named_args)"}}],"constructors":[{"html_id":"new(client:HTTP::Client=build_client)-class-method","name":"new","abstract":false,"args":[{"name":"client","default_value":"build_client","external_name":"client","restriction":"HTTP::Client"}],"args_string":"(client : HTTP::Client = build_client)","args_html":"(client : HTTP::Client = build_client)","location":{"filename":"src/lucky/base_http_client.cr","line_number":13,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L13"},"def":{"name":"new","args":[{"name":"client","default_value":"build_client","external_name":"client","restriction":"HTTP::Client"}],"visibility":"Public","body":"_ = allocate\n_.initialize(client)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"delete(path:String,params:NamedTuple):HTTP::Client::Response-instance-method","name":"delete","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"args_string":"(path : String, params : NamedTuple) : HTTP::Client::Response","args_html":"(path : String, params : NamedTuple) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"delete","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.delete(path, form: params.to_json)"}},{"html_id":"delete(path:String,**params):HTTP::Client::Response-instance-method","name":"delete","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(path : String, **params) : HTTP::Client::Response","args_html":"(path : String, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"delete","args":[{"name":"path","external_name":"path","restriction":"String"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"delete(path, params)"}},{"html_id":"exec(route_helper:Lucky::RouteHelper,params:NamedTuple):HTTP::Client::Response-instance-method","name":"exec","doc":"See docs for `exec`","summary":"

See docs for #exec

","abstract":false,"args":[{"name":"route_helper","external_name":"route_helper","restriction":"Lucky::RouteHelper"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"args_string":"(route_helper : Lucky::RouteHelper, params : NamedTuple) : HTTP::Client::Response","args_html":"(route_helper : Lucky::RouteHelper, params : NamedTuple) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":98,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L98"},"def":{"name":"exec","args":[{"name":"route_helper","external_name":"route_helper","restriction":"Lucky::RouteHelper"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.exec(method: route_helper.method.to_s.upcase, path: route_helper.path, body: params.to_json)"}},{"html_id":"exec(action:Lucky::Action.class,**params):HTTP::Client::Response-instance-method","name":"exec","doc":"Sends a request with the path and method from a Lucky::Action\n\n```\n# Make a request without body params\nAppClient.new.exec Users::Index\n\n# Make a request with body params\nAppClient.new.exec Users::Create, user: {email: \"paul@example.com\"}\n\n# Actions that require path params work like normal\nAppClient.new.exec Users::Show.with(user.id)\n```","summary":"

Sends a request with the path and method from a Lucky::Action

","abstract":false,"args":[{"name":"action","external_name":"action","restriction":"Lucky::Action.class"}],"args_string":"(action : Lucky::Action.class, **params) : HTTP::Client::Response","args_html":"(action : Lucky::Action.class, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":88,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L88"},"def":{"name":"exec","args":[{"name":"action","external_name":"action","restriction":"Lucky::Action.class"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"exec(action.route, params)"}},{"html_id":"exec(route_helper:Lucky::RouteHelper,**params):HTTP::Client::Response-instance-method","name":"exec","doc":"See docs for `exec`","summary":"

See docs for #exec

","abstract":false,"args":[{"name":"route_helper","external_name":"route_helper","restriction":"Lucky::RouteHelper"}],"args_string":"(route_helper : Lucky::RouteHelper, **params) : HTTP::Client::Response","args_html":"(route_helper : Lucky::RouteHelper, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":93,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L93"},"def":{"name":"exec","args":[{"name":"route_helper","external_name":"route_helper","restriction":"Lucky::RouteHelper"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"exec(route_helper, params)"}},{"html_id":"exec_raw(action:Lucky::Action.class,body:String):HTTP::Client::Response-instance-method","name":"exec_raw","doc":"`exec_raw` works the same as `exec`, but allows you to pass in a raw string.\nThis is used as an escape hatch as the `string` could be unsafe, or formatted\nin a custom format.","summary":"

#exec_raw works the same as #exec, but allows you to pass in a raw string.

","abstract":false,"args":[{"name":"action","external_name":"action","restriction":"Lucky::Action.class"},{"name":"body","external_name":"body","restriction":"String"}],"args_string":"(action : Lucky::Action.class, body : String) : HTTP::Client::Response","args_html":"(action : Lucky::Action.class, body : String) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":105,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L105"},"def":{"name":"exec_raw","args":[{"name":"action","external_name":"action","restriction":"Lucky::Action.class"},{"name":"body","external_name":"body","restriction":"String"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"exec_raw(action.route, body)"}},{"html_id":"exec_raw(route_helper:Lucky::RouteHelper,body:String):HTTP::Client::Response-instance-method","name":"exec_raw","doc":"See docs for `exec_raw`","summary":"

See docs for #exec_raw

","abstract":false,"args":[{"name":"route_helper","external_name":"route_helper","restriction":"Lucky::RouteHelper"},{"name":"body","external_name":"body","restriction":"String"}],"args_string":"(route_helper : Lucky::RouteHelper, body : String) : HTTP::Client::Response","args_html":"(route_helper : Lucky::RouteHelper, body : String) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":110,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L110"},"def":{"name":"exec_raw","args":[{"name":"route_helper","external_name":"route_helper","restriction":"Lucky::RouteHelper"},{"name":"body","external_name":"body","restriction":"String"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.exec(method: route_helper.method.to_s.upcase, path: route_helper.path, body: body)"}},{"html_id":"get(path:String,params:NamedTuple):HTTP::Client::Response-instance-method","name":"get","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"args_string":"(path : String, params : NamedTuple) : HTTP::Client::Response","args_html":"(path : String, params : NamedTuple) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"get","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.get(path, form: params.to_json)"}},{"html_id":"get(path:String,**params):HTTP::Client::Response-instance-method","name":"get","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(path : String, **params) : HTTP::Client::Response","args_html":"(path : String, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"get","args":[{"name":"path","external_name":"path","restriction":"String"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"get(path, params)"}},{"html_id":"head(path:String,params:NamedTuple):HTTP::Client::Response-instance-method","name":"head","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"args_string":"(path : String, params : NamedTuple) : HTTP::Client::Response","args_html":"(path : String, params : NamedTuple) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"head","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.head(path, form: params.to_json)"}},{"html_id":"head(path:String,**params):HTTP::Client::Response-instance-method","name":"head","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(path : String, **params) : HTTP::Client::Response","args_html":"(path : String, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"head","args":[{"name":"path","external_name":"path","restriction":"String"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"head(path, params)"}},{"html_id":"headers(**header_values):self-instance-method","name":"headers","doc":"The header call is chainable and returns the client:\n\n```\n# content_type will be normalized to `content-type`\nAppClient.new\n .headers(content_type: \"application/json\")\n .headers(accept: \"text/plain\")\n .get(\"/some-path\")\n```\n\nYou can also set up headers in `initialize` or in instance methods:\n\n```\nclass AppClient < Lucky::BaseHTTPClient\n def initialize\n headers(content_type: \"application/json\")\n end\n\n def accept_plain_text\n headers(accept: \"text/plain\")\n end\nend\n\nAppClient.new\n .accept_plain_text\n .get(\"/some-path\")\n```","summary":"

The header call is chainable and returns the client:

","abstract":false,"location":{"filename":"src/lucky/base_http_client.cr","line_number":67,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L67"},"def":{"name":"headers","double_splat":{"name":"header_values","external_name":"header_values","restriction":""},"return_type":"self","visibility":"Public","body":"@client.before_request do |request|\n header_values.each do |key, value|\n request.headers[key.to_s.gsub(\"-\", \"_\")] = value.to_s\n end\nend\nself\n"}},{"html_id":"options(path:String,params:NamedTuple):HTTP::Client::Response-instance-method","name":"options","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"args_string":"(path : String, params : NamedTuple) : HTTP::Client::Response","args_html":"(path : String, params : NamedTuple) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"options","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.options(path, form: params.to_json)"}},{"html_id":"options(path:String,**params):HTTP::Client::Response-instance-method","name":"options","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(path : String, **params) : HTTP::Client::Response","args_html":"(path : String, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"options","args":[{"name":"path","external_name":"path","restriction":"String"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"options(path, params)"}},{"html_id":"patch(path:String,params:NamedTuple):HTTP::Client::Response-instance-method","name":"patch","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"args_string":"(path : String, params : NamedTuple) : HTTP::Client::Response","args_html":"(path : String, params : NamedTuple) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"patch","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.patch(path, form: params.to_json)"}},{"html_id":"patch(path:String,**params):HTTP::Client::Response-instance-method","name":"patch","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(path : String, **params) : HTTP::Client::Response","args_html":"(path : String, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"patch","args":[{"name":"path","external_name":"path","restriction":"String"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"patch(path, params)"}},{"html_id":"post(path:String,params:NamedTuple):HTTP::Client::Response-instance-method","name":"post","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"args_string":"(path : String, params : NamedTuple) : HTTP::Client::Response","args_html":"(path : String, params : NamedTuple) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"post","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.post(path, form: params.to_json)"}},{"html_id":"post(path:String,**params):HTTP::Client::Response-instance-method","name":"post","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(path : String, **params) : HTTP::Client::Response","args_html":"(path : String, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"post","args":[{"name":"path","external_name":"path","restriction":"String"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"post(path, params)"}},{"html_id":"put(path:String,params:NamedTuple):HTTP::Client::Response-instance-method","name":"put","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"args_string":"(path : String, params : NamedTuple) : HTTP::Client::Response","args_html":"(path : String, params : NamedTuple) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"put","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"params","external_name":"params","restriction":"NamedTuple"}],"return_type":"HTTP::Client::Response","visibility":"Public","body":"@client.put(path, form: params.to_json)"}},{"html_id":"put(path:String,**params):HTTP::Client::Response-instance-method","name":"put","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(path : String, **params) : HTTP::Client::Response","args_html":"(path : String, **params) : HTTP::Client::Response","location":{"filename":"src/lucky/base_http_client.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_http_client.cr#L114"},"def":{"name":"put","args":[{"name":"path","external_name":"path","restriction":"String"}],"double_splat":{"name":"params","external_name":"params","restriction":""},"return_type":"HTTP::Client::Response","visibility":"Public","body":"put(path, params)"}}]},{"html_id":"lucky/Lucky/BaseLogFormatter","path":"Lucky/BaseLogFormatter.html","kind":"class","full_name":"Lucky::BaseLogFormatter","name":"BaseLogFormatter","abstract":true,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/base_log_formatter.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_log_formatter.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"format(severity:::Logger::Severity,timestamp:Time,progname:String,data:NamedTuple,io:IO):Nil-instance-method","name":"format","abstract":true,"args":[{"name":"severity","external_name":"severity","restriction":"::Logger::Severity"},{"name":"timestamp","external_name":"timestamp","restriction":"Time"},{"name":"progname","external_name":"progname","restriction":"String"},{"name":"data","external_name":"data","restriction":"NamedTuple"},{"name":"io","external_name":"io","restriction":"IO"}],"args_string":"(severity : ::Logger::Severity, timestamp : Time, progname : String, data : NamedTuple, io : IO) : Nil","args_html":"(severity : ::Logger::Severity, timestamp : Time, progname : String, data : NamedTuple, io : IO) : Nil","location":{"filename":"src/lucky/base_log_formatter.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/base_log_formatter.cr#L2"},"def":{"name":"format","args":[{"name":"severity","external_name":"severity","restriction":"::Logger::Severity"},{"name":"timestamp","external_name":"timestamp","restriction":"Time"},{"name":"progname","external_name":"progname","restriction":"String"},{"name":"data","external_name":"data","restriction":"NamedTuple"},{"name":"io","external_name":"io","restriction":"IO"}],"return_type":"Nil","visibility":"Public","body":""}}]},{"html_id":"lucky/Lucky/BaseTags","path":"Lucky/BaseTags.html","kind":"module","full_name":"Lucky::BaseTags","name":"BaseTags","abstract":false,"ancestors":[{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"}],"locations":[{"filename":"src/lucky/tags/base_tags.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"EMPTY_HTML_ATTRS","name":"EMPTY_HTML_ATTRS","value":"{} of String => String"},{"id":"EMPTY_TAGS","name":"EMPTY_TAGS","value":"[:img, :br, :hr, :input, :meta, :source] of ::Symbol"},{"id":"RENAMED_TAGS","name":"RENAMED_TAGS","value":"{para: \"p\", select_tag: \"select\"}"},{"id":"TAGS","name":"TAGS","value":"[:a, :abbr, :address, :area, :article, :aside, :b, :bdi, :bdo, :blockquote, :body, :button, :caption, :cite, :code, :col, :colgroup, :data, :datalist, :del, :details, :dfn, :dialog, :div, :dd, :dl, :dt, :em, :embed, :fieldset, :figcaption, :figure, :footer, :form, :h1, :h2, :h3, :h4, :h5, :h6, :head, :header, :html, :i, :iframe, :ins, :kbd, :label, :legend, :li, :main, :map, :mark, :menuitem, :meter, :nav, :noscript, :object, :ol, :optgroup, :option, :output, :param, :picture, :pre, :progress, :q, :rp, :rt, :ruby, :s, :samp, :script, :section, :slot, :small, :span, :strong, :sub, :summary, :sup, :table, :tbody, :td, :template, :textarea, :tfoot, :th, :thead, :time, :title, :tr, :track, :u, :ul, :video, :wbr] of ::Symbol"}],"included_modules":[{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"}],"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"a(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"a","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"a","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"a(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"a","doc":"Generates a `<a></a>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\na(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;a&gt;&lt;/a&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"a","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"a(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"a","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"a","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n a(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"a(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"a","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"a","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\na received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n a(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"a(options,**other_options):Nil-instance-method","name":"a","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"a","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"a(\"\", options, **other_options)"}},{"html_id":"a(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"a","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"a","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"a(&):Nil-instance-method","name":"a","abstract":false,"def":{"name":"a","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"a(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"a","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"a","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"abbr(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"abbr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"abbr","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"abbr(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"abbr","doc":"Generates a `<abbr></abbr>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nabbr(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;abbr&gt;&lt;/abbr&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"abbr","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"abbr(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"abbr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"abbr","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n abbr(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"abbr(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"abbr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"abbr","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nabbr received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n abbr(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"abbr(options,**other_options):Nil-instance-method","name":"abbr","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"abbr","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"abbr(\"\", options, **other_options)"}},{"html_id":"abbr(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"abbr","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"abbr","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"abbr(&):Nil-instance-method","name":"abbr","abstract":false,"def":{"name":"abbr","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"abbr(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"abbr","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"abbr","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"address(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"address","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"address","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"address(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"address","doc":"Generates a `<address></address>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\naddress(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;address&gt;&lt;/address&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"address","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"address(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"address","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"address","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n address(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"address(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"address","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"address","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\naddress received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n address(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"address(options,**other_options):Nil-instance-method","name":"address","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"address","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"address(\"\", options, **other_options)"}},{"html_id":"address(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"address","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"address","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"address(&):Nil-instance-method","name":"address","abstract":false,"def":{"name":"address","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"address(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"address","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"address","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"area(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"area","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"area","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"area(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"area","doc":"Generates a `<area></area>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\narea(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;area&gt;&lt;/area&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"area","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"area(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"area","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"area","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n area(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"area(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"area","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"area","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\narea received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n area(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"area(options,**other_options):Nil-instance-method","name":"area","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"area","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"area(\"\", options, **other_options)"}},{"html_id":"area(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"area","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"area","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"area(&):Nil-instance-method","name":"area","abstract":false,"def":{"name":"area","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"area(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"area","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"area","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"article(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"article","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"article","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"article(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"article","doc":"Generates a `<article></article>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\narticle(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;article&gt;&lt;/article&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"article","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"article(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"article","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"article","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n article(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"article(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"article","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"article","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\narticle received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n article(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"article(options,**other_options):Nil-instance-method","name":"article","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"article","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"article(\"\", options, **other_options)"}},{"html_id":"article(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"article","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"article","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"article(&):Nil-instance-method","name":"article","abstract":false,"def":{"name":"article","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"article(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"article","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"article","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"aside(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"aside","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"aside","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"aside(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"aside","doc":"Generates a `<aside></aside>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\naside(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

Generates a &lt;aside&gt;&lt;/aside&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"aside","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"aside(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"aside","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"aside","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n aside(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"aside(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"aside","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"aside","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\naside received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n aside(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"aside(options,**other_options):Nil-instance-method","name":"aside","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"aside","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"aside(\"\", options, **other_options)"}},{"html_id":"aside(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"aside","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"aside","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"aside(&):Nil-instance-method","name":"aside","abstract":false,"def":{"name":"aside","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"aside(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"aside","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"aside","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"b(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"b","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"b","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"b(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"b","doc":"Generates a `<b></b>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nb(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;b&gt;&lt;/b&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"b","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"b(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"b","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"b","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n b(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"b(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"b","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"b","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nb received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n b(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"b(options,**other_options):Nil-instance-method","name":"b","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"b","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"b(\"\", options, **other_options)"}},{"html_id":"b(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"b","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"b","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"b(&):Nil-instance-method","name":"b","abstract":false,"def":{"name":"b","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"b(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"b","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"b","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"bdi(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"bdi","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"bdi","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"bdi(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"bdi","doc":"Generates a `<bdi></bdi>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nbdi(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;bdi&gt;&lt;/bdi&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"bdi","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"bdi(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"bdi","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"bdi","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n bdi(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"bdi(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"bdi","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"bdi","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nbdi received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n bdi(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"bdi(options,**other_options):Nil-instance-method","name":"bdi","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"bdi","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"bdi(\"\", options, **other_options)"}},{"html_id":"bdi(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"bdi","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"bdi","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"bdi(&):Nil-instance-method","name":"bdi","abstract":false,"def":{"name":"bdi","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"bdi(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"bdi","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"bdi","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"bdo(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"bdo","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"bdo","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"bdo(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"bdo","doc":"Generates a `<bdo></bdo>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nbdo(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;bdo&gt;&lt;/bdo&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"bdo","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"bdo(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"bdo","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"bdo","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n bdo(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"bdo(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"bdo","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"bdo","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nbdo received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n bdo(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"bdo(options,**other_options):Nil-instance-method","name":"bdo","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"bdo","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"bdo(\"\", options, **other_options)"}},{"html_id":"bdo(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"bdo","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"bdo","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"bdo(&):Nil-instance-method","name":"bdo","abstract":false,"def":{"name":"bdo","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"bdo(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"bdo","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"bdo","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"blockquote(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"blockquote","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"blockquote","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"blockquote(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"blockquote","doc":"Generates a `<blockquote></blockquote>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nblockquote(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;blockquote&gt;&lt;/blockquote&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"blockquote","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"blockquote(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"blockquote","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"blockquote","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n blockquote(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"blockquote(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"blockquote","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"blockquote","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nblockquote received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n blockquote(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"blockquote(options,**other_options):Nil-instance-method","name":"blockquote","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"blockquote","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"blockquote(\"\", options, **other_options)"}},{"html_id":"blockquote(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"blockquote","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"blockquote","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"blockquote(&):Nil-instance-method","name":"blockquote","abstract":false,"def":{"name":"blockquote","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"blockquote(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"blockquote","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"blockquote","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"body(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"body","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"body","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"body(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"body","doc":"Generates a `<body></body>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nbody(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;body&gt;&lt;/body&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"body","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"body(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"body","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"body","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n body(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"body(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"body","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"body","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nbody received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n body(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"body(options,**other_options):Nil-instance-method","name":"body","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"body","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"body(\"\", options, **other_options)"}},{"html_id":"body(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"body","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"body","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"body(&):Nil-instance-method","name":"body","abstract":false,"def":{"name":"body","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"body(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"body","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"body","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"br(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"br","doc":"Generates a `<br>` tag.\n\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n\n```\nbr([:required], {\"class\" => \"cls-1\"}) #=>
\n```","summary":"

Generates a &lt;br&gt; tag.

","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"br","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"bool_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\nview << \"\"\n"}},{"html_id":"br:Nil-instance-method","name":"br","doc":"Generates a `<br>` tag.","summary":"

Generates a &lt;br&gt; tag.

","abstract":false,"location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"br","return_type":"Nil","visibility":"Public","body":"view << \"
\""}},{"html_id":"br(options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"br","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"br","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"br([] of Symbol, options, **other_options)"}},{"html_id":"button(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"button","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"button","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"button(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"button","doc":"Generates a `<button></button>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nbutton(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

Generates a &lt;button&gt;&lt;/button&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"button","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"button(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"button","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"button","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n button(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"button(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"button","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"button","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nbutton received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n button(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"button(options,**other_options):Nil-instance-method","name":"button","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"button","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"button(\"\", options, **other_options)"}},{"html_id":"button(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"button","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"button","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"button(&):Nil-instance-method","name":"button","abstract":false,"def":{"name":"button","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"button(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"button","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"button","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"caption(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"caption","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"caption","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"caption(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"caption","doc":"Generates a `<caption></caption>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ncaption(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;caption&gt;&lt;/caption&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"caption","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"caption(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"caption","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"caption","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n caption(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"caption(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"caption","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"caption","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ncaption received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n caption(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"caption(options,**other_options):Nil-instance-method","name":"caption","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"caption","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"caption(\"\", options, **other_options)"}},{"html_id":"caption(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"caption","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"caption","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"caption(&):Nil-instance-method","name":"caption","abstract":false,"def":{"name":"caption","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"caption(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"caption","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"caption","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"cite(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"cite","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"cite","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"cite(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"cite","doc":"Generates a `<cite></cite>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ncite(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;cite&gt;&lt;/cite&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"cite","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"cite(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"cite","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"cite","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n cite(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"cite(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"cite","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"cite","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ncite received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n cite(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"cite(options,**other_options):Nil-instance-method","name":"cite","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"cite","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"cite(\"\", options, **other_options)"}},{"html_id":"cite(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"cite","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"cite","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"cite(&):Nil-instance-method","name":"cite","abstract":false,"def":{"name":"cite","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"cite(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"cite","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"cite","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"code(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"code","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"code","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"code(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"code","doc":"Generates a `<code></code>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ncode(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;code&gt;&lt;/code&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"code","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"code(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"code","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"code","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n code(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"code(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"code","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"code","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ncode received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n code(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"code(options,**other_options):Nil-instance-method","name":"code","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"code","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"code(\"\", options, **other_options)"}},{"html_id":"code(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"code","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"code","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"code(&):Nil-instance-method","name":"code","abstract":false,"def":{"name":"code","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"code(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"code","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"code","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"col(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"col","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"col","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"col(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"col","doc":"Generates a `<col></col>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ncol(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;col&gt;&lt;/col&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"col","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"col(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"col","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"col","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n col(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"col(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"col","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"col","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ncol received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n col(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"col(options,**other_options):Nil-instance-method","name":"col","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"col","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"col(\"\", options, **other_options)"}},{"html_id":"col(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"col","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"col","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"col(&):Nil-instance-method","name":"col","abstract":false,"def":{"name":"col","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"col(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"col","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"col","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"colgroup(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"colgroup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"colgroup","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"colgroup(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"colgroup","doc":"Generates a `<colgroup></colgroup>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ncolgroup(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;colgroup&gt;&lt;/colgroup&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"colgroup","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"colgroup(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"colgroup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"colgroup","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n colgroup(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"colgroup(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"colgroup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"colgroup","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ncolgroup received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n colgroup(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"colgroup(options,**other_options):Nil-instance-method","name":"colgroup","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"colgroup","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"colgroup(\"\", options, **other_options)"}},{"html_id":"colgroup(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"colgroup","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"colgroup","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"colgroup(&):Nil-instance-method","name":"colgroup","abstract":false,"def":{"name":"colgroup","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"colgroup(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"colgroup","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"colgroup","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"data(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"data","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"data","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"data(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"data","doc":"Generates a `<data></data>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndata(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;data&gt;&lt;/data&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"data","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"data(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"data","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"data","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n data(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"data(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"data","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"data","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndata received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n data(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"data(options,**other_options):Nil-instance-method","name":"data","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"data","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"data(\"\", options, **other_options)"}},{"html_id":"data(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"data","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"data","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"data(&):Nil-instance-method","name":"data","abstract":false,"def":{"name":"data","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"data(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"data","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"data","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"datalist(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"datalist","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"datalist","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"datalist(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"datalist","doc":"Generates a `<datalist></datalist>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndatalist(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;datalist&gt;&lt;/datalist&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"datalist","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"datalist(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"datalist","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"datalist","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n datalist(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"datalist(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"datalist","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"datalist","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndatalist received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n datalist(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"datalist(options,**other_options):Nil-instance-method","name":"datalist","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"datalist","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"datalist(\"\", options, **other_options)"}},{"html_id":"datalist(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"datalist","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"datalist","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"datalist(&):Nil-instance-method","name":"datalist","abstract":false,"def":{"name":"datalist","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"datalist(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"datalist","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"datalist","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dd(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"dd","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"dd","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"dd(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dd","doc":"Generates a `<dd></dd>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndd(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;dd&gt;&lt;/dd&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dd","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"dd(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dd","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dd","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n dd(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"dd(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dd","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dd","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndd received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n dd(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"dd(options,**other_options):Nil-instance-method","name":"dd","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"dd","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"dd(\"\", options, **other_options)"}},{"html_id":"dd(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dd","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dd","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dd(&):Nil-instance-method","name":"dd","abstract":false,"def":{"name":"dd","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"dd(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dd","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dd","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"del(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"del","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"del","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"del(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"del","doc":"Generates a `<del></del>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndel(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;del&gt;&lt;/del&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"del","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"del(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"del","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"del","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n del(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"del(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"del","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"del","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndel received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n del(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"del(options,**other_options):Nil-instance-method","name":"del","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"del","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"del(\"\", options, **other_options)"}},{"html_id":"del(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"del","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"del","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"del(&):Nil-instance-method","name":"del","abstract":false,"def":{"name":"del","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"del(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"del","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"del","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"details(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"details","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"details","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"details(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"details","doc":"Generates a `<details></details>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndetails(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;details&gt;&lt;/details&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"details","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"details(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"details","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"details","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n details(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"details(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"details","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"details","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndetails received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n details(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"details(options,**other_options):Nil-instance-method","name":"details","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"details","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"details(\"\", options, **other_options)"}},{"html_id":"details(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"details","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"details","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"details(&):Nil-instance-method","name":"details","abstract":false,"def":{"name":"details","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"details(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"details","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"details","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dfn(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"dfn","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"dfn","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"dfn(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dfn","doc":"Generates a `<dfn></dfn>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndfn(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;dfn&gt;&lt;/dfn&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dfn","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"dfn(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dfn","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dfn","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n dfn(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"dfn(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dfn","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dfn","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndfn received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n dfn(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"dfn(options,**other_options):Nil-instance-method","name":"dfn","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"dfn","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"dfn(\"\", options, **other_options)"}},{"html_id":"dfn(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dfn","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dfn","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dfn(&):Nil-instance-method","name":"dfn","abstract":false,"def":{"name":"dfn","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dfn(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dfn","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dfn","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dialog(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"dialog","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"dialog","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"dialog(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dialog","doc":"Generates a `<dialog></dialog>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndialog(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;dialog&gt;&lt;/dialog&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dialog","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"dialog(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dialog","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dialog","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n dialog(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"dialog(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dialog","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dialog","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndialog received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n dialog(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"dialog(options,**other_options):Nil-instance-method","name":"dialog","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"dialog","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"dialog(\"\", options, **other_options)"}},{"html_id":"dialog(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dialog","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dialog","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dialog(&):Nil-instance-method","name":"dialog","abstract":false,"def":{"name":"dialog","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dialog(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dialog","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dialog","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"div(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"div","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"div","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"div(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"div","doc":"Generates a `<div></div>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndiv(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;div&gt;&lt;/div&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"div","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"div(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"div","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"div","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n div(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"div(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"div","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"div","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndiv received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n div(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"div(options,**other_options):Nil-instance-method","name":"div","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"div","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"div(\"\", options, **other_options)"}},{"html_id":"div(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"div","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"div","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"div(&):Nil-instance-method","name":"div","abstract":false,"def":{"name":"div","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"div(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"div","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"div","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dl(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"dl","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"dl","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"dl(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dl","doc":"Generates a `<dl></dl>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndl(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;dl&gt;&lt;/dl&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dl","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"dl(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dl","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dl","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n dl(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"dl(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dl","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dl","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndl received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n dl(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"dl(options,**other_options):Nil-instance-method","name":"dl","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"dl","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"dl(\"\", options, **other_options)"}},{"html_id":"dl(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dl","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dl","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dl(&):Nil-instance-method","name":"dl","abstract":false,"def":{"name":"dl","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"dl(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dl","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dl","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dt(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"dt","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"dt","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"dt(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dt","doc":"Generates a `<dt></dt>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ndt(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;dt&gt;&lt;/dt&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dt","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"dt(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dt","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dt","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n dt(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"dt(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"dt","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"dt","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ndt received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n dt(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"dt(options,**other_options):Nil-instance-method","name":"dt","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"dt","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"dt(\"\", options, **other_options)"}},{"html_id":"dt(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dt","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dt","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"dt(&):Nil-instance-method","name":"dt","abstract":false,"def":{"name":"dt","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"dt(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"dt","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"dt","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"em(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"em","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"em","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"em(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"em","doc":"Generates a `<em></em>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nem(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;em&gt;&lt;/em&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"em","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"em(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"em","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"em","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n em(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"em(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"em","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"em","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nem received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n em(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"em(options,**other_options):Nil-instance-method","name":"em","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"em","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"em(\"\", options, **other_options)"}},{"html_id":"em(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"em","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"em","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"em(&):Nil-instance-method","name":"em","abstract":false,"def":{"name":"em","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"em(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"em","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"em","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"embed(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"embed","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"embed","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"embed(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"embed","doc":"Generates a `<embed></embed>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nembed(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;embed&gt;&lt;/embed&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"embed","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"embed(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"embed","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"embed","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n embed(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"embed(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"embed","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"embed","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nembed received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n embed(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"embed(options,**other_options):Nil-instance-method","name":"embed","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"embed","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"embed(\"\", options, **other_options)"}},{"html_id":"embed(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"embed","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"embed","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"embed(&):Nil-instance-method","name":"embed","abstract":false,"def":{"name":"embed","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"embed(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"embed","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"embed","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"fieldset(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"fieldset","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"fieldset","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"fieldset(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"fieldset","doc":"Generates a `<fieldset></fieldset>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nfieldset(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;fieldset&gt;&lt;/fieldset&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"fieldset","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"fieldset(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"fieldset","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"fieldset","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n fieldset(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"fieldset(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"fieldset","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"fieldset","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nfieldset received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n fieldset(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"fieldset(options,**other_options):Nil-instance-method","name":"fieldset","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"fieldset","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"fieldset(\"\", options, **other_options)"}},{"html_id":"fieldset(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"fieldset","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"fieldset","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"fieldset(&):Nil-instance-method","name":"fieldset","abstract":false,"def":{"name":"fieldset","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"fieldset(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"fieldset","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"fieldset","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"figcaption(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"figcaption","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"figcaption","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"figcaption(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"figcaption","doc":"Generates a `<figcaption></figcaption>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nfigcaption(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;figcaption&gt;&lt;/figcaption&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"figcaption","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"figcaption(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"figcaption","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"figcaption","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n figcaption(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"figcaption(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"figcaption","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"figcaption","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nfigcaption received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n figcaption(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"figcaption(options,**other_options):Nil-instance-method","name":"figcaption","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"figcaption","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"figcaption(\"\", options, **other_options)"}},{"html_id":"figcaption(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"figcaption","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"figcaption","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"figcaption(&):Nil-instance-method","name":"figcaption","abstract":false,"def":{"name":"figcaption","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"figcaption(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"figcaption","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"figcaption","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"figure(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"figure","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"figure","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"figure(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"figure","doc":"Generates a `<figure></figure>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nfigure(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;figure&gt;&lt;/figure&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"figure","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"figure(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"figure","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"figure","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n figure(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"figure(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"figure","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"figure","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nfigure received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n figure(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"figure(options,**other_options):Nil-instance-method","name":"figure","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"figure","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"figure(\"\", options, **other_options)"}},{"html_id":"figure(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"figure","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"figure","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"figure(&):Nil-instance-method","name":"figure","abstract":false,"def":{"name":"figure","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"figure(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"figure","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"figure","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"footer(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"footer","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"footer","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"footer(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"footer","doc":"Generates a `<footer></footer>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nfooter(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;footer&gt;&lt;/footer&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"footer","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"footer(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"footer","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"footer","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n footer(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"footer(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"footer","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"footer","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nfooter received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n footer(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"footer(options,**other_options):Nil-instance-method","name":"footer","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"footer","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"footer(\"\", options, **other_options)"}},{"html_id":"footer(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"footer","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"footer","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"footer(&):Nil-instance-method","name":"footer","abstract":false,"def":{"name":"footer","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"footer(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"footer","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"footer","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"form(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"form","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"form","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"form(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"form","doc":"Generates a `<form></form>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nform(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;form&gt;&lt;/form&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"form","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"form(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"form","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"form","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n form(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"form(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"form","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"form","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nform received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n form(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"form(options,**other_options):Nil-instance-method","name":"form","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"form","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"form(\"\", options, **other_options)"}},{"html_id":"form(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"form","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"form","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"form(&):Nil-instance-method","name":"form","abstract":false,"def":{"name":"form","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"form(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"form","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"form","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h1(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"h1","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"h1","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"

\") << (HTML.escape(content.to_s))) << \"

\""}},{"html_id":"h1(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h1","doc":"Generates a `<h1></h1>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nh1(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>

Sample

\n```","summary":"

Generates a &lt;h1&gt;&lt;/h1&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h1","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"

\"\n"}},{"html_id":"h1(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h1","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h1","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n h1(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"h1(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h1","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h1","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nh1 received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n h1(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"h1(options,**other_options):Nil-instance-method","name":"h1","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"h1","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"h1(\"\", options, **other_options)"}},{"html_id":"h1(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h1","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h1","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h1(&):Nil-instance-method","name":"h1","abstract":false,"def":{"name":"h1","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"

\"\ncheck_tag_content!(yield)\nview << \"

\"\n"}},{"html_id":"h1(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h1","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h1","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h2(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"h2","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"h2","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"

\") << (HTML.escape(content.to_s))) << \"

\""}},{"html_id":"h2(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h2","doc":"Generates a `<h2></h2>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nh2(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>

Sample

\n```","summary":"

Generates a &lt;h2&gt;&lt;/h2&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h2","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"h2(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h2","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h2","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n h2(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"h2(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h2","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h2","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nh2 received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n h2(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"h2(options,**other_options):Nil-instance-method","name":"h2","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"h2","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"h2(\"\", options, **other_options)"}},{"html_id":"h2(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h2","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h2","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h2(&):Nil-instance-method","name":"h2","abstract":false,"def":{"name":"h2","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"

\"\ncheck_tag_content!(yield)\nview << \"

\"\n"}},{"html_id":"h2(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h2","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h2","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h3(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"h3","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"h3","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"

\") << (HTML.escape(content.to_s))) << \"

\""}},{"html_id":"h3(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h3","doc":"Generates a `<h3></h3>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nh3(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>

Sample

\n```","summary":"

Generates a &lt;h3&gt;&lt;/h3&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h3","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"h3(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h3","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h3","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n h3(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"h3(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h3","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h3","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nh3 received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n h3(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"h3(options,**other_options):Nil-instance-method","name":"h3","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"h3","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"h3(\"\", options, **other_options)"}},{"html_id":"h3(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h3","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h3","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h3(&):Nil-instance-method","name":"h3","abstract":false,"def":{"name":"h3","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"

\"\ncheck_tag_content!(yield)\nview << \"

\"\n"}},{"html_id":"h3(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h3","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h3","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h4(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"h4","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"h4","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"

\") << (HTML.escape(content.to_s))) << \"

\""}},{"html_id":"h4(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h4","doc":"Generates a `<h4></h4>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nh4(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>

Sample

\n```","summary":"

Generates a &lt;h4&gt;&lt;/h4&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h4","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"h4(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h4","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h4","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n h4(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"h4(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h4","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h4","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nh4 received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n h4(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"h4(options,**other_options):Nil-instance-method","name":"h4","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"h4","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"h4(\"\", options, **other_options)"}},{"html_id":"h4(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h4","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h4","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h4(&):Nil-instance-method","name":"h4","abstract":false,"def":{"name":"h4","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"

\"\ncheck_tag_content!(yield)\nview << \"

\"\n"}},{"html_id":"h4(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h4","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h4","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h5(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"h5","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"h5","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"h5(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h5","doc":"Generates a `<h5></h5>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nh5(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;h5&gt;&lt;/h5&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h5","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"h5(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h5","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h5","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n h5(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"h5(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h5","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h5","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nh5 received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n h5(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"h5(options,**other_options):Nil-instance-method","name":"h5","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"h5","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"h5(\"\", options, **other_options)"}},{"html_id":"h5(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h5","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h5","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h5(&):Nil-instance-method","name":"h5","abstract":false,"def":{"name":"h5","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"h5(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h5","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h5","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h6(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"h6","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"h6","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"h6(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h6","doc":"Generates a `<h6></h6>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nh6(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;h6&gt;&lt;/h6&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h6","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"h6(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h6","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h6","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n h6(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"h6(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"h6","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"h6","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nh6 received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n h6(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"h6(options,**other_options):Nil-instance-method","name":"h6","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"h6","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"h6(\"\", options, **other_options)"}},{"html_id":"h6(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h6","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h6","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"h6(&):Nil-instance-method","name":"h6","abstract":false,"def":{"name":"h6","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"h6(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"h6","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"h6","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"head(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"head","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"head","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"head(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"head","doc":"Generates a `<head></head>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nhead(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;head&gt;&lt;/head&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"head","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"head(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"head","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"head","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n head(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"head(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"head","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"head","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nhead received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n head(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"head(options,**other_options):Nil-instance-method","name":"head","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"head","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"head(\"\", options, **other_options)"}},{"html_id":"head(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"head","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"head","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"head(&):Nil-instance-method","name":"head","abstract":false,"def":{"name":"head","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"head(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"head","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"head","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"header(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"header","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"header","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
\") << (HTML.escape(content.to_s))) << \"
\""}},{"html_id":"header(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"header","doc":"Generates a `<header></header>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nheader(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
Sample
\n```","summary":"

Generates a &lt;header&gt;&lt;/header&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"header","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"header(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"header","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"header","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n header(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"header(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"header","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"header","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nheader received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n header(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"header(options,**other_options):Nil-instance-method","name":"header","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"header","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"header(\"\", options, **other_options)"}},{"html_id":"header(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"header","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"header","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"header(&):Nil-instance-method","name":"header","abstract":false,"def":{"name":"header","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
\"\ncheck_tag_content!(yield)\nview << \"
\"\n"}},{"html_id":"header(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"header","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"header","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"hr(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"hr","doc":"Generates a `<hr>` tag.\n\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n\n```\nhr([:required], {\"class\" => \"cls-1\"}) #=>
\n```","summary":"

Generates a &lt;hr&gt; tag.

","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"hr","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"bool_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\nview << \"\"\n"}},{"html_id":"hr:Nil-instance-method","name":"hr","doc":"Generates a `<hr>` tag.","summary":"

Generates a &lt;hr&gt; tag.

","abstract":false,"location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"hr","return_type":"Nil","visibility":"Public","body":"view << \"
\""}},{"html_id":"hr(options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"hr","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"hr","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"hr([] of Symbol, options, **other_options)"}},{"html_id":"html(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"html","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"html","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"html(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"html","doc":"Generates a `<html></html>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nhtml(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;html&gt;&lt;/html&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"html","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"html(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"html","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"html","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n html(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"html(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"html","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"html","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nhtml received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n html(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"html(options,**other_options):Nil-instance-method","name":"html","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"html","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"html(\"\", options, **other_options)"}},{"html_id":"html(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"html","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"html","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"html(&):Nil-instance-method","name":"html","abstract":false,"def":{"name":"html","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"html(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"html","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"html","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"i(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"i","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"i","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"i(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"i","doc":"Generates a `<i></i>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ni(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;i&gt;&lt;/i&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"i","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"i(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"i","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"i","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n i(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"i(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"i","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"i","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ni received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n i(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"i(options,**other_options):Nil-instance-method","name":"i","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"i","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"i(\"\", options, **other_options)"}},{"html_id":"i(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"i","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"i","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"i(&):Nil-instance-method","name":"i","abstract":false,"def":{"name":"i","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"i(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"i","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"i","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"iframe(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"iframe","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"iframe","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"iframe(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"iframe","doc":"Generates a `<iframe></iframe>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\niframe(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

Generates a &lt;iframe&gt;&lt;/iframe&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"iframe","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"iframe(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"iframe","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"iframe","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n iframe(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"iframe(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"iframe","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"iframe","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\niframe received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n iframe(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"iframe(options,**other_options):Nil-instance-method","name":"iframe","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"iframe","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"iframe(\"\", options, **other_options)"}},{"html_id":"iframe(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"iframe","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"iframe","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"iframe(&):Nil-instance-method","name":"iframe","abstract":false,"def":{"name":"iframe","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"iframe(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"iframe","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"iframe","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"img(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"img","doc":"Generates a `<img>` tag.\n\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n\n```\nimg([:required], {\"class\" => \"cls-1\"}) #=> \n```","summary":"

Generates a &lt;img&gt; tag.

","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"img","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"bool_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\nview << \"\"\n"}},{"html_id":"img:Nil-instance-method","name":"img","doc":"Generates a `<img>` tag.","summary":"

Generates a &lt;img&gt; tag.

","abstract":false,"location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"img","return_type":"Nil","visibility":"Public","body":"view << \"\""}},{"html_id":"img(options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"img","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"img","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"img([] of Symbol, options, **other_options)"}},{"html_id":"input(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"input","doc":"Generates a `<input>` tag.\n\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n\n```\ninput([:required], {\"class\" => \"cls-1\"}) #=> \n```","summary":"

Generates a &lt;input&gt; tag.

","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"input","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"bool_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\nview << \"\"\n"}},{"html_id":"input:Nil-instance-method","name":"input","doc":"Generates a `<input>` tag.","summary":"

Generates a &lt;input&gt; tag.

","abstract":false,"location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"input","return_type":"Nil","visibility":"Public","body":"view << \"\""}},{"html_id":"input(options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"input","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"input","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"input([] of Symbol, options, **other_options)"}},{"html_id":"ins(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"ins","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"ins","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"ins(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ins","doc":"Generates a `<ins></ins>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nins(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;ins&gt;&lt;/ins&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ins","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"ins(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ins","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ins","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n ins(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"ins(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ins","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ins","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nins received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n ins(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"ins(options,**other_options):Nil-instance-method","name":"ins","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"ins","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"ins(\"\", options, **other_options)"}},{"html_id":"ins(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"ins","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"ins","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ins(&):Nil-instance-method","name":"ins","abstract":false,"def":{"name":"ins","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ins(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"ins","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"ins","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"kbd(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"kbd","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"kbd","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"kbd(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"kbd","doc":"Generates a `<kbd></kbd>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nkbd(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;kbd&gt;&lt;/kbd&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"kbd","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"kbd(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"kbd","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"kbd","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n kbd(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"kbd(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"kbd","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"kbd","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nkbd received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n kbd(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"kbd(options,**other_options):Nil-instance-method","name":"kbd","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"kbd","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"kbd(\"\", options, **other_options)"}},{"html_id":"kbd(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"kbd","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"kbd","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"kbd(&):Nil-instance-method","name":"kbd","abstract":false,"def":{"name":"kbd","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"kbd(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"kbd","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"kbd","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"label(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"label","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"label","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"label(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"label","doc":"Generates a `<label></label>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nlabel(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

Generates a &lt;label&gt;&lt;/label&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"label","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"label(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"label","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"label","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n label(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"label(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"label","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"label","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nlabel received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n label(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"label(options,**other_options):Nil-instance-method","name":"label","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"label","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"label(\"\", options, **other_options)"}},{"html_id":"label(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"label","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"label","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"label(&):Nil-instance-method","name":"label","abstract":false,"def":{"name":"label","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"label(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"label","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"label","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"legend(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"legend","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"legend","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"legend(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"legend","doc":"Generates a `<legend></legend>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nlegend(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

Generates a &lt;legend&gt;&lt;/legend&gt; tag.

","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"legend","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"legend(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"legend","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"legend","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n legend(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"legend(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"legend","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"legend","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nlegend received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n legend(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"legend(options,**other_options):Nil-instance-method","name":"legend","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"legend","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"legend(\"\", options, **other_options)"}},{"html_id":"legend(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"legend","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"legend","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"legend(&):Nil-instance-method","name":"legend","abstract":false,"def":{"name":"legend","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"legend(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"legend","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"legend","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"li(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"li","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"li","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
  • \") << (HTML.escape(content.to_s))) << \"
  • \""}},{"html_id":"li(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"li","doc":"Generates a `<li></li>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nli(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
  • Sample
  • \n```","summary":"

    Generates a &lt;li&gt;&lt;/li&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"li","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"li(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"li","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"li","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n li(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"li(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"li","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"li","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nli received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n li(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"li(options,**other_options):Nil-instance-method","name":"li","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"li","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"li(\"\", options, **other_options)"}},{"html_id":"li(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"li","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"li","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"li(&):Nil-instance-method","name":"li","abstract":false,"def":{"name":"li","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
  • \"\ncheck_tag_content!(yield)\nview << \"
  • \"\n"}},{"html_id":"li(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"li","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"li","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"main(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"main","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"main","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
    \") << (HTML.escape(content.to_s))) << \"
    \""}},{"html_id":"main(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"main","doc":"Generates a `<main></main>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nmain(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
    Sample
    \n```","summary":"

    Generates a &lt;main&gt;&lt;/main&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"main","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"main(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"main","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"main","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n main(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"main(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"main","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"main","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nmain received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n main(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"main(options,**other_options):Nil-instance-method","name":"main","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"main","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"main(\"\", options, **other_options)"}},{"html_id":"main(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"main","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"main","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"main(&):Nil-instance-method","name":"main","abstract":false,"def":{"name":"main","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
    \"\ncheck_tag_content!(yield)\nview << \"
    \"\n"}},{"html_id":"main(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"main","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"main","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"map(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"map","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"map","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"map(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"map","doc":"Generates a `<map></map>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nmap(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;map&gt;&lt;/map&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"map","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"map(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"map","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"map","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n map(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"map(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"map","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"map","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nmap received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n map(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"map(options,**other_options):Nil-instance-method","name":"map","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"map","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"map(\"\", options, **other_options)"}},{"html_id":"map(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"map","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"map","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"map(&):Nil-instance-method","name":"map","abstract":false,"def":{"name":"map","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"map(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"map","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"map","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"mark(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"mark","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"mark","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"mark(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"mark","doc":"Generates a `<mark></mark>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nmark(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;mark&gt;&lt;/mark&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"mark","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"mark(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"mark","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"mark","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n mark(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"mark(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"mark","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"mark","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nmark received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n mark(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"mark(options,**other_options):Nil-instance-method","name":"mark","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"mark","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"mark(\"\", options, **other_options)"}},{"html_id":"mark(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"mark","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"mark","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"mark(&):Nil-instance-method","name":"mark","abstract":false,"def":{"name":"mark","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"mark(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"mark","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"mark","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"menuitem(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"menuitem","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"menuitem","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"menuitem(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"menuitem","doc":"Generates a `<menuitem></menuitem>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nmenuitem(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;menuitem&gt;&lt;/menuitem&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"menuitem","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"menuitem(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"menuitem","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"menuitem","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n menuitem(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"menuitem(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"menuitem","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"menuitem","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nmenuitem received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n menuitem(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"menuitem(options,**other_options):Nil-instance-method","name":"menuitem","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"menuitem","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"menuitem(\"\", options, **other_options)"}},{"html_id":"menuitem(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"menuitem","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"menuitem","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"menuitem(&):Nil-instance-method","name":"menuitem","abstract":false,"def":{"name":"menuitem","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"menuitem(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"menuitem","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"menuitem","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"meta(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"meta","doc":"Generates a `<meta>` tag.\n\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n\n```\nmeta([:required], {\"class\" => \"cls-1\"}) #=> \n```","summary":"

    Generates a &lt;meta&gt; tag.

    ","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"meta","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"bool_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\nview << \"\"\n"}},{"html_id":"meta:Nil-instance-method","name":"meta","doc":"Generates a `<meta>` tag.","summary":"

    Generates a &lt;meta&gt; tag.

    ","abstract":false,"location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"meta","return_type":"Nil","visibility":"Public","body":"view << \"\""}},{"html_id":"meta(options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"meta","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"meta","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"meta([] of Symbol, options, **other_options)"}},{"html_id":"meter(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"meter","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"meter","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"meter(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"meter","doc":"Generates a `<meter></meter>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nmeter(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;meter&gt;&lt;/meter&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"meter","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"meter(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"meter","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"meter","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n meter(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"meter(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"meter","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"meter","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nmeter received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n meter(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"meter(options,**other_options):Nil-instance-method","name":"meter","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"meter","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"meter(\"\", options, **other_options)"}},{"html_id":"meter(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"meter","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"meter","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"meter(&):Nil-instance-method","name":"meter","abstract":false,"def":{"name":"meter","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"meter(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"meter","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"meter","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"nav(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"nav","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"nav","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"nav(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"nav","doc":"Generates a `<nav></nav>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nnav(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

    Generates a &lt;nav&gt;&lt;/nav&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"nav","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"nav(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"nav","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"nav","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n nav(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"nav(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"nav","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"nav","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nnav received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n nav(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"nav(options,**other_options):Nil-instance-method","name":"nav","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"nav","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"nav(\"\", options, **other_options)"}},{"html_id":"nav(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"nav","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"nav","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"nav(&):Nil-instance-method","name":"nav","abstract":false,"def":{"name":"nav","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"nav(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"nav","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"nav","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"noscript(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"noscript","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"noscript","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"noscript(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"noscript","doc":"Generates a `<noscript></noscript>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nnoscript(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

    Generates a &lt;noscript&gt;&lt;/noscript&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"noscript","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"noscript(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"noscript","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"noscript","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n noscript(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"noscript(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"noscript","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"noscript","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nnoscript received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n noscript(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"noscript(options,**other_options):Nil-instance-method","name":"noscript","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"noscript","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"noscript(\"\", options, **other_options)"}},{"html_id":"noscript(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"noscript","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"noscript","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"noscript(&):Nil-instance-method","name":"noscript","abstract":false,"def":{"name":"noscript","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"noscript(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"noscript","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"noscript","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"object(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"object","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"object","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"object(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"object","doc":"Generates a `<object></object>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nobject(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;object&gt;&lt;/object&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"object","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"object(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"object","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"object","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n object(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"object(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"object","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"object","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nobject received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n object(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"object(options,**other_options):Nil-instance-method","name":"object","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"object","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"object(\"\", options, **other_options)"}},{"html_id":"object(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"object","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"object","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"object(&):Nil-instance-method","name":"object","abstract":false,"def":{"name":"object","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"object(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"object","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"object","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ol(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"ol","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"ol","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
      \") << (HTML.escape(content.to_s))) << \"
    \""}},{"html_id":"ol(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ol","doc":"Generates a `<ol></ol>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nol(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
      Sample
    \n```","summary":"

    Generates a &lt;ol&gt;&lt;/ol&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ol","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"ol(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ol","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ol","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n ol(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"ol(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ol","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ol","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nol received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n ol(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"ol(options,**other_options):Nil-instance-method","name":"ol","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"ol","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"ol(\"\", options, **other_options)"}},{"html_id":"ol(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"ol","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"ol","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ol(&):Nil-instance-method","name":"ol","abstract":false,"def":{"name":"ol","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
      \"\ncheck_tag_content!(yield)\nview << \"
    \"\n"}},{"html_id":"ol(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"ol","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"ol","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"optgroup(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"optgroup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"optgroup","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"optgroup(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"optgroup","doc":"Generates a `<optgroup></optgroup>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\noptgroup(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;optgroup&gt;&lt;/optgroup&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"optgroup","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"optgroup(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"optgroup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"optgroup","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n optgroup(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"optgroup(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"optgroup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"optgroup","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\noptgroup received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n optgroup(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"optgroup(options,**other_options):Nil-instance-method","name":"optgroup","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"optgroup","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"optgroup(\"\", options, **other_options)"}},{"html_id":"optgroup(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"optgroup","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"optgroup","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"optgroup(&):Nil-instance-method","name":"optgroup","abstract":false,"def":{"name":"optgroup","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"optgroup(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"optgroup","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"optgroup","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"option(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"option","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"option","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"option(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"option","doc":"Generates a `<option></option>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\noption(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

    Generates a &lt;option&gt;&lt;/option&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"option","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"option(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"option","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"option","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n option(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"option(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"option","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"option","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\noption received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n option(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"option(options,**other_options):Nil-instance-method","name":"option","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"option","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"option(\"\", options, **other_options)"}},{"html_id":"option(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"option","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"option","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"option(&):Nil-instance-method","name":"option","abstract":false,"def":{"name":"option","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"option(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"option","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"option","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"output(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"output","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"output","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"output(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"output","doc":"Generates a `<output></output>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\noutput(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;output&gt;&lt;/output&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"output","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"output(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"output","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"output","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n output(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"output(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"output","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"output","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\noutput received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n output(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"output(options,**other_options):Nil-instance-method","name":"output","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"output","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"output(\"\", options, **other_options)"}},{"html_id":"output(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"output","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"output","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"output(&):Nil-instance-method","name":"output","abstract":false,"def":{"name":"output","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"output(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"output","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"output","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"para(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"para","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"para","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"

    \") << (HTML.escape(content.to_s))) << \"

    \""}},{"html_id":"para(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"para","doc":"Generates a `<para></para>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\npara(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;para&gt;&lt;/para&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"para","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"

    \"\n"}},{"html_id":"para(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"para","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"para","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n para(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"para(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"para","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"para","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\npara received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n para(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"para(options,**other_options):Nil-instance-method","name":"para","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"para","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"para(\"\", options, **other_options)"}},{"html_id":"para(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"para","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"para","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"

    \"\n"}},{"html_id":"para(&):Nil-instance-method","name":"para","abstract":false,"def":{"name":"para","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"

    \"\ncheck_tag_content!(yield)\nview << \"

    \"\n"}},{"html_id":"para(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"para","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"para","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"

    \"\n"}},{"html_id":"param(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"param","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"param","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"param(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"param","doc":"Generates a `<param></param>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nparam(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;param&gt;&lt;/param&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"param","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"param(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"param","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"param","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n param(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"param(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"param","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"param","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nparam received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n param(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"param(options,**other_options):Nil-instance-method","name":"param","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"param","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"param(\"\", options, **other_options)"}},{"html_id":"param(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"param","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"param","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"param(&):Nil-instance-method","name":"param","abstract":false,"def":{"name":"param","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"param(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"param","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"param","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"picture(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"picture","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"picture","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"picture(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"picture","doc":"Generates a `<picture></picture>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\npicture(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;picture&gt;&lt;/picture&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"picture","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"picture(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"picture","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"picture","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n picture(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"picture(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"picture","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"picture","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\npicture received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n picture(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"picture(options,**other_options):Nil-instance-method","name":"picture","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"picture","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"picture(\"\", options, **other_options)"}},{"html_id":"picture(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"picture","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"picture","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"picture(&):Nil-instance-method","name":"picture","abstract":false,"def":{"name":"picture","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"picture(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"picture","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"picture","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"pre(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"pre","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"pre","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
    \") << (HTML.escape(content.to_s))) << \"
    \""}},{"html_id":"pre(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"pre","doc":"Generates a `<pre></pre>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\npre(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
    Sample
    \n```","summary":"

    Generates a &lt;pre&gt;&lt;/pre&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"pre","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"pre(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"pre","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"pre","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n pre(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"pre(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"pre","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"pre","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\npre received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n pre(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"pre(options,**other_options):Nil-instance-method","name":"pre","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"pre","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"pre(\"\", options, **other_options)"}},{"html_id":"pre(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"pre","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"pre","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"pre(&):Nil-instance-method","name":"pre","abstract":false,"def":{"name":"pre","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
    \"\ncheck_tag_content!(yield)\nview << \"
    \"\n"}},{"html_id":"pre(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"pre","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"pre","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"progress(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"progress","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"progress","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"progress(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"progress","doc":"Generates a `<progress></progress>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nprogress(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;progress&gt;&lt;/progress&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"progress","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"progress(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"progress","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"progress","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n progress(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"progress(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"progress","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"progress","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nprogress received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n progress(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"progress(options,**other_options):Nil-instance-method","name":"progress","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"progress","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"progress(\"\", options, **other_options)"}},{"html_id":"progress(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"progress","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"progress","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"progress(&):Nil-instance-method","name":"progress","abstract":false,"def":{"name":"progress","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"progress(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"progress","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"progress","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"q(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"q","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"q","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"q(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"q","doc":"Generates a `<q></q>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nq(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;q&gt;&lt;/q&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"q","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"q(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"q","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"q","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n q(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"q(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"q","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"q","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nq received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n q(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"q(options,**other_options):Nil-instance-method","name":"q","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"q","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"q(\"\", options, **other_options)"}},{"html_id":"q(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"q","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"q","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"q(&):Nil-instance-method","name":"q","abstract":false,"def":{"name":"q","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"q(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"q","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"q","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"rp(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"rp","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"rp","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"rp(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"rp","doc":"Generates a `<rp></rp>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nrp(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;rp&gt;&lt;/rp&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"rp","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"rp(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"rp","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"rp","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n rp(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"rp(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"rp","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"rp","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nrp received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n rp(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"rp(options,**other_options):Nil-instance-method","name":"rp","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"rp","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"rp(\"\", options, **other_options)"}},{"html_id":"rp(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"rp","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"rp","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"rp(&):Nil-instance-method","name":"rp","abstract":false,"def":{"name":"rp","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"rp(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"rp","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"rp","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"rt(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"rt","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"rt","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"rt(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"rt","doc":"Generates a `<rt></rt>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nrt(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;rt&gt;&lt;/rt&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"rt","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"rt(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"rt","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"rt","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n rt(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"rt(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"rt","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"rt","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nrt received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n rt(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"rt(options,**other_options):Nil-instance-method","name":"rt","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"rt","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"rt(\"\", options, **other_options)"}},{"html_id":"rt(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"rt","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"rt","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"rt(&):Nil-instance-method","name":"rt","abstract":false,"def":{"name":"rt","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"rt(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"rt","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"rt","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ruby(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"ruby","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"ruby","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"ruby(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ruby","doc":"Generates a `<ruby></ruby>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nruby(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;ruby&gt;&lt;/ruby&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ruby","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"ruby(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ruby","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ruby","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n ruby(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"ruby(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ruby","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ruby","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nruby received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n ruby(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"ruby(options,**other_options):Nil-instance-method","name":"ruby","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"ruby","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"ruby(\"\", options, **other_options)"}},{"html_id":"ruby(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"ruby","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"ruby","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ruby(&):Nil-instance-method","name":"ruby","abstract":false,"def":{"name":"ruby","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ruby(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"ruby","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"ruby","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"s(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"s","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"s","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"s(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"s","doc":"Generates a `<s></s>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ns(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;s&gt;&lt;/s&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"s","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"s(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"s","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"s","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n s(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"s(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"s","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"s","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ns received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n s(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"s(options,**other_options):Nil-instance-method","name":"s","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"s","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"s(\"\", options, **other_options)"}},{"html_id":"s(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"s","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"s","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"s(&):Nil-instance-method","name":"s","abstract":false,"def":{"name":"s","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"s(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"s","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"s","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"samp(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"samp","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"samp","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"samp(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"samp","doc":"Generates a `<samp></samp>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nsamp(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;samp&gt;&lt;/samp&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"samp","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"samp(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"samp","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"samp","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n samp(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"samp(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"samp","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"samp","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nsamp received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n samp(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"samp(options,**other_options):Nil-instance-method","name":"samp","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"samp","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"samp(\"\", options, **other_options)"}},{"html_id":"samp(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"samp","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"samp","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"samp(&):Nil-instance-method","name":"samp","abstract":false,"def":{"name":"samp","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"samp(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"samp","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"samp","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"script(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"script","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"script","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"script(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"script","doc":"Generates a `<script></script>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nscript(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

    Generates a &lt;script&gt;&lt;/script&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"script","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"script(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"script","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"script","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n script(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"script(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"script","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"script","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nscript received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n script(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"script(options,**other_options):Nil-instance-method","name":"script","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"script","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"script(\"\", options, **other_options)"}},{"html_id":"script(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"script","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"script","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"script(&):Nil-instance-method","name":"script","abstract":false,"def":{"name":"script","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"script(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"script","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"script","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"section(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"section","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"section","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
    \") << (HTML.escape(content.to_s))) << \"
    \""}},{"html_id":"section(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"section","doc":"Generates a `<section></section>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nsection(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
    Sample
    \n```","summary":"

    Generates a &lt;section&gt;&lt;/section&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"section","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"section(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"section","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"section","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n section(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"section(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"section","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"section","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nsection received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n section(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"section(options,**other_options):Nil-instance-method","name":"section","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"section","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"section(\"\", options, **other_options)"}},{"html_id":"section(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"section","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"section","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"section(&):Nil-instance-method","name":"section","abstract":false,"def":{"name":"section","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
    \"\ncheck_tag_content!(yield)\nview << \"
    \"\n"}},{"html_id":"section(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"section","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"section","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"select_tag(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"select_tag","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"select_tag","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"select_tag(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"select_tag","doc":"Generates a `<select_tag></select_tag>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nselect_tag(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;select_tag&gt;&lt;/select_tag&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"select_tag","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"select_tag(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"select_tag","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"select_tag","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n select_tag(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"select_tag(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"select_tag","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"select_tag","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nselect_tag received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n select_tag(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"select_tag(options,**other_options):Nil-instance-method","name":"select_tag","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"select_tag","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"select_tag(\"\", options, **other_options)"}},{"html_id":"select_tag(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"select_tag","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"select_tag","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"select_tag(&):Nil-instance-method","name":"select_tag","abstract":false,"def":{"name":"select_tag","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"select_tag(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"select_tag","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"select_tag","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"slot(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"slot","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"slot","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"slot(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"slot","doc":"Generates a `<slot></slot>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nslot(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;slot&gt;&lt;/slot&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"slot","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"slot(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"slot","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"slot","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n slot(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"slot(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"slot","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"slot","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nslot received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n slot(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"slot(options,**other_options):Nil-instance-method","name":"slot","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"slot","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"slot(\"\", options, **other_options)"}},{"html_id":"slot(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"slot","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"slot","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"slot(&):Nil-instance-method","name":"slot","abstract":false,"def":{"name":"slot","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"slot(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"slot","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"slot","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"small(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"small","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"small","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"small(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"small","doc":"Generates a `<small></small>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nsmall(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;small&gt;&lt;/small&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"small","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"small(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"small","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"small","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n small(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"small(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"small","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"small","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nsmall received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n small(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"small(options,**other_options):Nil-instance-method","name":"small","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"small","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"small(\"\", options, **other_options)"}},{"html_id":"small(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"small","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"small","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"small(&):Nil-instance-method","name":"small","abstract":false,"def":{"name":"small","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"small(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"small","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"small","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"source(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"source","doc":"Generates a `<source>` tag.\n\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n\n```\nsource([:required], {\"class\" => \"cls-1\"}) #=> \n```","summary":"

    Generates a &lt;source&gt; tag.

    ","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"source","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"bool_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\nview << \"\"\n"}},{"html_id":"source:Nil-instance-method","name":"source","doc":"Generates a `<source>` tag.","summary":"

    Generates a &lt;source&gt; tag.

    ","abstract":false,"location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"source","return_type":"Nil","visibility":"Public","body":"view << \"\""}},{"html_id":"source(options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"source","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":207,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L207"},"def":{"name":"source","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"source([] of Symbol, options, **other_options)"}},{"html_id":"span(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"span","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"span","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"span(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"span","doc":"Generates a `<span></span>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nspan(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;span&gt;&lt;/span&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"span","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"span(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"span","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"span","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n span(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"span(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"span","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"span","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nspan received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n span(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"span(options,**other_options):Nil-instance-method","name":"span","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"span","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"span(\"\", options, **other_options)"}},{"html_id":"span(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"span","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"span","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"span(&):Nil-instance-method","name":"span","abstract":false,"def":{"name":"span","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"span(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"span","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"span","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"strong(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"strong","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"strong","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"strong(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"strong","doc":"Generates a `<strong></strong>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nstrong(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;strong&gt;&lt;/strong&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"strong","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"strong(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"strong","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"strong","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n strong(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"strong(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"strong","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"strong","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nstrong received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n strong(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"strong(options,**other_options):Nil-instance-method","name":"strong","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"strong","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"strong(\"\", options, **other_options)"}},{"html_id":"strong(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"strong","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"strong","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"strong(&):Nil-instance-method","name":"strong","abstract":false,"def":{"name":"strong","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"strong(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"strong","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"strong","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"style(styles:String):Nil-instance-method","name":"style","doc":"Generates a `<style></style>` block for adding inline CSS\n\n```\nstyle(\"a { color: red; }\") # => \n```","summary":"

    Generates a &lt;style&gt;&lt;/style&gt; block for adding inline CSS

    ","abstract":false,"args":[{"name":"styles","external_name":"styles","restriction":"String"}],"args_string":"(styles : String) : Nil","args_html":"(styles : String) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":248,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L248"},"def":{"name":"style","args":[{"name":"styles","external_name":"styles","restriction":"String"}],"return_type":"Nil","visibility":"Public","body":"view << \"\""}},{"html_id":"sub(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"sub","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"sub","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"sub(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"sub","doc":"Generates a `<sub></sub>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nsub(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;sub&gt;&lt;/sub&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"sub","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"sub(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"sub","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"sub","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n sub(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"sub(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"sub","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"sub","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nsub received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n sub(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"sub(options,**other_options):Nil-instance-method","name":"sub","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"sub","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"sub(\"\", options, **other_options)"}},{"html_id":"sub(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"sub","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"sub","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"sub(&):Nil-instance-method","name":"sub","abstract":false,"def":{"name":"sub","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"sub(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"sub","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"sub","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"summary(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"summary","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"summary","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"summary(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"summary","doc":"Generates a `<summary></summary>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nsummary(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;summary&gt;&lt;/summary&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"summary","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"summary(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"summary","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"summary","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n summary(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"summary(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"summary","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"summary","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nsummary received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n summary(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"summary(options,**other_options):Nil-instance-method","name":"summary","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"summary","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"summary(\"\", options, **other_options)"}},{"html_id":"summary(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"summary","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"summary","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"summary(&):Nil-instance-method","name":"summary","abstract":false,"def":{"name":"summary","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"summary(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"summary","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"summary","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"sup(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"sup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"sup","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"sup(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"sup","doc":"Generates a `<sup></sup>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nsup(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;sup&gt;&lt;/sup&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"sup","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"sup(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"sup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"sup","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n sup(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"sup(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"sup","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"sup","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nsup received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n sup(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"sup(options,**other_options):Nil-instance-method","name":"sup","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"sup","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"sup(\"\", options, **other_options)"}},{"html_id":"sup(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"sup","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"sup","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"sup(&):Nil-instance-method","name":"sup","abstract":false,"def":{"name":"sup","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"sup(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"sup","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"sup","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"table(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"table","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"table","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"
    \""}},{"html_id":"table(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"table","doc":"Generates a `<table></table>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntable(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample
    \n```","summary":"

    Generates a &lt;table&gt;&lt;/table&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"table","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"table(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"table","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"table","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n table(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"table(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"table","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"table","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntable received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n table(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"table(options,**other_options):Nil-instance-method","name":"table","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"table","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"table(\"\", options, **other_options)"}},{"html_id":"table(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"table","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"table","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"table(&):Nil-instance-method","name":"table","abstract":false,"def":{"name":"table","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"
    \"\n"}},{"html_id":"table(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"table","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"table","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tbody(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"tbody","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"tbody","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"tbody(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tbody","doc":"Generates a `<tbody></tbody>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntbody(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;tbody&gt;&lt;/tbody&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tbody","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"tbody(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tbody","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tbody","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n tbody(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"tbody(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tbody","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tbody","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntbody received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n tbody(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"tbody(options,**other_options):Nil-instance-method","name":"tbody","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"tbody","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"tbody(\"\", options, **other_options)"}},{"html_id":"tbody(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"tbody","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"tbody","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tbody(&):Nil-instance-method","name":"tbody","abstract":false,"def":{"name":"tbody","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tbody(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"tbody","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"tbody","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"td(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"td","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"td","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"td(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"td","doc":"Generates a `<td></td>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntd(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;td&gt;&lt;/td&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"td","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"td(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"td","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"td","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n td(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"td(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"td","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"td","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntd received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n td(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"td(options,**other_options):Nil-instance-method","name":"td","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"td","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"td(\"\", options, **other_options)"}},{"html_id":"td(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"td","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"td","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"td(&):Nil-instance-method","name":"td","abstract":false,"def":{"name":"td","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"td(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"td","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"td","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"template(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"template","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"template","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"template(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"template","doc":"Generates a `<template></template>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntemplate(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

    Generates a &lt;template&gt;&lt;/template&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"template","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"template(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"template","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"template","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n template(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"template(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"template","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"template","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntemplate received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n template(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"template(options,**other_options):Nil-instance-method","name":"template","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"template","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"template(\"\", options, **other_options)"}},{"html_id":"template(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"template","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"template","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"template(&):Nil-instance-method","name":"template","abstract":false,"def":{"name":"template","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"template(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"template","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"template","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"text(content:String|Lucky::AllowedInTags):Nil-instance-method","name":"text","doc":"Outputs *content* and escapes it.\n\n```\ntext(\"Hello\") # => Hello\ntext(\"
    \") # => <div>\n```","summary":"

    Outputs content and escapes it.

    ","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"String | Lucky::AllowedInTags"}],"args_string":"(content : String | Lucky::AllowedInTags) : Nil","args_html":"(content : String | Lucky::AllowedInTags) : Nil","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":239,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L239"},"def":{"name":"text","args":[{"name":"content","external_name":"content","restriction":"String | Lucky::AllowedInTags"}],"return_type":"Nil","visibility":"Public","body":"view << (HTML.escape(content.to_s))"}},{"html_id":"textarea(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"textarea","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"textarea","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"textarea(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"textarea","doc":"Generates a `<textarea></textarea>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntextarea(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

    Generates a &lt;textarea&gt;&lt;/textarea&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"textarea","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"textarea(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"textarea","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"textarea","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n textarea(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"textarea(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"textarea","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"textarea","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntextarea received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n textarea(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"textarea(options,**other_options):Nil-instance-method","name":"textarea","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"textarea","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"textarea(\"\", options, **other_options)"}},{"html_id":"textarea(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"textarea","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"textarea","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"textarea(&):Nil-instance-method","name":"textarea","abstract":false,"def":{"name":"textarea","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"textarea(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"textarea","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"textarea","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tfoot(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"tfoot","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"tfoot","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"tfoot(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tfoot","doc":"Generates a `<tfoot></tfoot>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntfoot(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;tfoot&gt;&lt;/tfoot&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tfoot","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"tfoot(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tfoot","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tfoot","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n tfoot(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"tfoot(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tfoot","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tfoot","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntfoot received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n tfoot(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"tfoot(options,**other_options):Nil-instance-method","name":"tfoot","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"tfoot","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"tfoot(\"\", options, **other_options)"}},{"html_id":"tfoot(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"tfoot","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"tfoot","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tfoot(&):Nil-instance-method","name":"tfoot","abstract":false,"def":{"name":"tfoot","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tfoot(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"tfoot","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"tfoot","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"th(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"th","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"th","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"th(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"th","doc":"Generates a `<th></th>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nth(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;th&gt;&lt;/th&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"th","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"th(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"th","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"th","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n th(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"th(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"th","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"th","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nth received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n th(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"th(options,**other_options):Nil-instance-method","name":"th","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"th","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"th(\"\", options, **other_options)"}},{"html_id":"th(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"th","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"th","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"th(&):Nil-instance-method","name":"th","abstract":false,"def":{"name":"th","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"th(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"th","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"th","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"thead(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"thead","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"thead","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"thead(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"thead","doc":"Generates a `<thead></thead>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nthead(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;thead&gt;&lt;/thead&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"thead","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"thead(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"thead","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"thead","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n thead(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"thead(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"thead","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"thead","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nthead received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n thead(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"thead(options,**other_options):Nil-instance-method","name":"thead","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"thead","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"thead(\"\", options, **other_options)"}},{"html_id":"thead(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"thead","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"thead","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"thead(&):Nil-instance-method","name":"thead","abstract":false,"def":{"name":"thead","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"thead(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"thead","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"thead","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"time(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"time","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"time","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"time(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"time","doc":"Generates a `<time></time>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntime(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

    Generates a &lt;time&gt;&lt;/time&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"time","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"time(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"time","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"time","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n time(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"time(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"time","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"time","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntime received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n time(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"time(options,**other_options):Nil-instance-method","name":"time","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"time","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"time(\"\", options, **other_options)"}},{"html_id":"time(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"time","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"time","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"time(&):Nil-instance-method","name":"time","abstract":false,"def":{"name":"time","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"time(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"time","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"time","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"title(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"title","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"title","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"title(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"title","doc":"Generates a `<title></title>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntitle(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;title&gt;&lt;/title&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"title","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"title(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"title","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"title","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n title(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"title(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"title","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"title","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntitle received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n title(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"title(options,**other_options):Nil-instance-method","name":"title","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"title","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"title(\"\", options, **other_options)"}},{"html_id":"title(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"title","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"title","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"title(&):Nil-instance-method","name":"title","abstract":false,"def":{"name":"title","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"title(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"title","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"title","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tr(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"tr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"tr","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"tr(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tr","doc":"Generates a `<tr></tr>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntr(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;tr&gt;&lt;/tr&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tr","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"tr(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tr","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n tr(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"tr(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"tr","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntr received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n tr(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"tr(options,**other_options):Nil-instance-method","name":"tr","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"tr","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"tr(\"\", options, **other_options)"}},{"html_id":"tr(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"tr","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"tr","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tr(&):Nil-instance-method","name":"tr","abstract":false,"def":{"name":"tr","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"tr(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"tr","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"tr","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"track(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"track","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"track","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"track(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"track","doc":"Generates a `<track></track>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\ntrack(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;track&gt;&lt;/track&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"track","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"track(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"track","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"track","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n track(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"track(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"track","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"track","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\ntrack received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n track(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"track(options,**other_options):Nil-instance-method","name":"track","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"track","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"track(\"\", options, **other_options)"}},{"html_id":"track(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"track","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"track","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"track(&):Nil-instance-method","name":"track","abstract":false,"def":{"name":"track","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"track(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"track","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"track","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"u(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"u","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"u","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"u(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"u","doc":"Generates a `<u></u>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nu(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;u&gt;&lt;/u&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"u","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"u(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"u","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"u","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n u(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"u(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"u","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"u","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nu received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n u(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"u(options,**other_options):Nil-instance-method","name":"u","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"u","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"u(\"\", options, **other_options)"}},{"html_id":"u(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"u","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"u","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"u(&):Nil-instance-method","name":"u","abstract":false,"def":{"name":"u","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"u(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"u","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"u","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ul(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"ul","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"ul","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"
      \") << (HTML.escape(content.to_s))) << \"
    \""}},{"html_id":"ul(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ul","doc":"Generates a `<ul></ul>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nul(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=>
      Sample
    \n```","summary":"

    Generates a &lt;ul&gt;&lt;/ul&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ul","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"ul(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ul","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ul","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n ul(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"ul(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"ul","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"ul","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nul received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n ul(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"ul(options,**other_options):Nil-instance-method","name":"ul","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"ul","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"ul(\"\", options, **other_options)"}},{"html_id":"ul(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"ul","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"ul","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"ul(&):Nil-instance-method","name":"ul","abstract":false,"def":{"name":"ul","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"
      \"\ncheck_tag_content!(yield)\nview << \"
    \"\n"}},{"html_id":"ul(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"ul","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"ul","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"video(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"video","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"video","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\""}},{"html_id":"video(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"video","doc":"Generates a `<video></video>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nvideo(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> \n```","summary":"

    Generates a &lt;video&gt;&lt;/video&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"video","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"video(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"video","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"video","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n video(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"video(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"video","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"video","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nvideo received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n video(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"video(options,**other_options):Nil-instance-method","name":"video","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"video","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"video(\"\", options, **other_options)"}},{"html_id":"video(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"video","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"video","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"video(&):Nil-instance-method","name":"video","abstract":false,"def":{"name":"video","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\n"}},{"html_id":"video(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"video","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"video","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"wbr(content:Lucky::AllowedInTags|String):Nil-instance-method","name":"wbr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"args_string":"(content : Lucky::AllowedInTags | String) : Nil","args_html":"(content : Lucky::AllowedInTags | String) : Nil","def":{"name":"wbr","args":[{"name":"content","external_name":"content","restriction":"Lucky::AllowedInTags | String"}],"return_type":"Nil","visibility":"Public","body":"((view << \"\") << (HTML.escape(content.to_s))) << \"\""}},{"html_id":"wbr(content:Lucky::AllowedInTags|String=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"wbr","doc":"Generates a `<wbr></wbr>` tag.\n\n* The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n* The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n* The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n```\nwbr(\"Sample\", {\"class\" => \"cls-1 red\"}, [:required]) #=> Sample\n```","summary":"

    Generates a &lt;wbr&gt;&lt;/wbr&gt; tag.

    ","abstract":false,"args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Lucky::AllowedInTags | String = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Lucky::AllowedInTags | String = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"wbr","args":[{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((((view << \"\") << (HTML.escape(content.to_s))) << \"\"\n"}},{"html_id":"wbr(content:Nil,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"wbr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Nil, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"wbr","args":[{"name":"content","external_name":"content","restriction":"Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\\n\\nTry this...\\n\\n if value = some_nilable_value\\n wbr(value, class: \\\"header\\\")\\n end\\n\") %}"}},{"html_id":"wbr(content:Time,options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"wbr","abstract":false,"args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(content : Time, options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","def":{"name":"wbr","args":[{"name":"content","external_name":"content","restriction":"Time"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"{% raise(\"HTML tags content must be a String or Lucky::AllowedInTags object.\\nwbr received a Time object which has an ambiguous display format.\\n\\nTry this...\\n\\n wbr(current_time.to_s(\\\"%F\\\"), html_opts)\\n\") %}"}},{"html_id":"wbr(options,**other_options):Nil-instance-method","name":"wbr","abstract":false,"args":[{"name":"options","external_name":"options","restriction":""}],"args_string":"(options, **other_options) : Nil","args_html":"(options, **other_options) : Nil","def":{"name":"wbr","args":[{"name":"options","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"wbr(\"\", options, **other_options)"}},{"html_id":"wbr(attrs:Array(Symbol),options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"wbr","abstract":false,"args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"wbr","args":[{"name":"attrs","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"boolean_attrs = build_boolean_attrs(attrs)\nmerged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n(((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"wbr(&):Nil-instance-method","name":"wbr","abstract":false,"def":{"name":"wbr","yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}},{"html_id":"wbr(options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"wbr","abstract":false,"args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","def":{"name":"wbr","args":[{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"\"\ncheck_tag_content!(yield)\nview << \"\"\n"}}],"macros":[{"html_id":"generate_tag_methods(method_name,tag)-macro","name":"generate_tag_methods","abstract":false,"args":[{"name":"method_name","external_name":"method_name","restriction":""},{"name":"tag","external_name":"tag","restriction":""}],"args_string":"(method_name, tag)","args_html":"(method_name, tag)","location":{"filename":"src/lucky/tags/base_tags.cr","line_number":106,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/base_tags.cr#L106"},"def":{"name":"generate_tag_methods","args":[{"name":"method_name","external_name":"method_name","restriction":""},{"name":"tag","external_name":"tag","restriction":""}],"visibility":"Public","body":" \n# Generates a `<\n{{ method_name.id }}\n></\n{{ method_name.id }}\n>` tag.\n\n \n#\n\n \n# * The *content* argument is either a `String`, or any type that has included `Lucky::AllowedInTags`. This is the content that goes inside of the tag.\n\n \n# * The *options* argument is a `Hash(String, String)` of any HTML attribute that has a key/value like `class`, `id`, `type`, etc...\n\n \n# * The *attrs* argument is an `Array(Symbol)` for specifying [Boolean Attributes](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes) such as `required`, `disabled`, `autofocus`, etc...\n\n \n#\n\n \n# ```\n\n \n# \n{{ method_name.id }}\n(\"Sample\", \n{\"class\" => \"cls-1 red\"}, [:required]) #=> <\n{{ method_name.id }}\n class=\"cls-1 red\" required>Sample\n\n \n# ```\n\n def \n{{ method_name.id }}\n(\n content : Lucky::AllowedInTags | String = \"\",\n options = EMPTY_HTML_ATTRS,\n attrs : Array(Symbol) = [] of Symbol,\n **other_options\n ) : Nil\n boolean_attrs = build_boolean_attrs(attrs)\n merged_options = merge_options(other_options, options)\n tag_attrs = build_tag_attrs(merged_options)\n view << \"<\n{{ tag.id }}\n\" << tag_attrs << boolean_attrs << \">\" << HTML.escape(content.to_s) << \"\"\n \nend\n\n def \n{{ method_name.id }}\n(content : Lucky::AllowedInTags | String) : Nil\n view << \"<\n{{ tag.id }}\n>\" << HTML.escape(content.to_s) << \"\"\n \nend\n\n def \n{{ method_name.id }}\n(\n content : Nil,\n options = EMPTY_HTML_ATTRS,\n attrs : Array(Symbol) = [] of Symbol,\n **other_options\n ) : Nil\n \n\\{%\n \nraise <<-ERROR\n HTML tags content must be a String or Lucky::AllowedInTags object, not nil.\n\n Try this...\n\n if value = some_nilable_value\n \n{{ method_name.id }}\n(value, class: \"header\")\n end\n\n ERROR\n %}\n \nend\n\n def \n{{ method_name.id }}\n(\n content : Time,\n options = EMPTY_HTML_ATTRS,\n attrs : Array(Symbol) = [] of Symbol,\n **other_options\n ) : Nil\n \n\\{%\n \nraise <<-ERROR\n HTML tags content must be a String or Lucky::AllowedInTags object.\n \n{{ method_name.id }}\n received a Time object which has an ambiguous display format.\n\n Try this...\n\n \n{{ method_name.id }}\n(current_time.to_s(\"%F\"), html_opts)\n\n ERROR\n %}\n \nend\n\n def \n{{ method_name.id }}\n(options, **other_options) : Nil\n \n{{ method_name.id }}\n(\"\", options, **other_options)\n \nend\n\n def \n{{ method_name.id }}\n(options = EMPTY_HTML_ATTRS, **other_options) : Nil\n merged_options = merge_options(other_options, options)\n tag_attrs = build_tag_attrs(merged_options)\n view << \"<\n{{ tag.id }}\n\" << tag_attrs << \">\"\n check_tag_content!(yield)\n view << \"\"\n \nend\n\n def \n{{ method_name.id }}\n(attrs : Array(Symbol), options = EMPTY_HTML_ATTRS, **other_options) : Nil\n boolean_attrs = build_boolean_attrs(attrs)\n merged_options = merge_options(other_options, options)\n tag_attrs = build_tag_attrs(merged_options)\n view << \"<\n{{ tag.id }}\n\" << tag_attrs << boolean_attrs << \">\"\n check_tag_content!(yield)\n view << \"\"\n \nend\n\n def \n{{ method_name.id }}\n : Nil\n view << \"<\n{{ tag.id }}\n>\"\n check_tag_content!(yield)\n view << \"\"\n \nend\n \n"}}]},{"html_id":"lucky/Lucky/CookieJar","path":"Lucky/CookieJar.html","kind":"class","full_name":"Lucky::CookieJar","name":"CookieJar","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: on_set : (HTTP::Cookie -> HTTP::Cookie) | ::Nil, example: nil, validation: nil}] of Nil"},{"id":"LUCKY_ENCRYPTION_PREFIX","name":"LUCKY_ENCRYPTION_PREFIX","value":"(Base64.strict_encode(\"lucky\")) + \"--\""},{"id":"MAX_COOKIE_SIZE","name":"MAX_COOKIE_SIZE","value":"4096"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L8"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"empty_jar:Lucky::CookieJar-class-method","name":"empty_jar","abstract":false,"location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":16,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L16"},"def":{"name":"empty_jar","return_type":"Lucky::CookieJar","visibility":"Public","body":"new"}},{"html_id":"from_request_cookies(cookies:HTTP::Cookies):Lucky::CookieJar-class-method","name":"from_request_cookies","abstract":false,"args":[{"name":"cookies","external_name":"cookies","restriction":"HTTP::Cookies"}],"args_string":"(cookies : HTTP::Cookies) : Lucky::CookieJar","args_html":"(cookies : HTTP::Cookies) : Lucky::CookieJar","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":12,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L12"},"def":{"name":"from_request_cookies","args":[{"name":"cookies","external_name":"cookies","restriction":"HTTP::Cookies"}],"return_type":"Lucky::CookieJar","visibility":"Public","body":"new(cookies)"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L8"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"[](key:Key):String-instance-method","name":"[]","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String","args_html":"(key : Key) : String","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":100,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L100"},"def":{"name":"[]","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String","visibility":"Public","body":"get(key)"}},{"html_id":"[]=(key:Key,value:String):HTTP::Cookie-instance-method","name":"[]=","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(key : Key, value : String) : HTTP::Cookie","args_html":"(key : Key, value : String) : HTTP::Cookie","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":120,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L120"},"def":{"name":"[]=","args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"return_type":"HTTP::Cookie","visibility":"Public","body":"set(key, value)"}},{"html_id":"[]?(key:Key):String|Nil-instance-method","name":"[]?","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String | Nil","args_html":"(key : Key) : String | Nil","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":112,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L112"},"def":{"name":"[]?","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String | ::Nil","visibility":"Public","body":"get?(key)"}},{"html_id":"clear:Nil-instance-method","name":"clear","doc":"Delete all cookies.","summary":"

    Delete all cookies.

    ","abstract":false,"location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":38,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L38"},"def":{"name":"clear","return_type":"Nil","visibility":"Public","body":"clear do\nend"}},{"html_id":"clear(&:HTTP::Cookie->):Nil-instance-method","name":"clear","doc":"Delete cookies with a block to add specific options.\n\njar.clear do |cookie|\n cookie.path(\"/\")\n .http_only(true)\n .secure(true)\nend","summary":"

    Delete cookies with a block to add specific options.

    ","abstract":false,"location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":49,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L49"},"def":{"name":"clear","yields":1,"block_arity":1,"block_arg":{"name":"","external_name":"","restriction":"(HTTP::Cookie ->)"},"return_type":"Nil","visibility":"Public","body":"cookies.each do |cookie|\n yield cookie\n delete(cookie.name)\nend"}},{"html_id":"delete(key:Key):Nil-instance-method","name":"delete","doc":"https://tools.ietf.org/search/rfc6265#page-8\nto remove a cookie, the server returns a Set-Cookie header\nwith an expiration date in the past. The server will be successful\nin removing the cookie only if the Path and the Domain attribute in\nthe Set-Cookie header match the values used when the cookie was\ncreated.","summary":"

    https://tools.ietf.org/search/rfc6265#page-8 to remove a cookie, the server returns a Set-Cookie header with an expiration date in the past.

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : Nil","args_html":"(key : Key) : Nil","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":62,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L62"},"def":{"name":"delete","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"Nil","visibility":"Public","body":"if cookie = cookies[key.to_s]?\n (cookie.expires(1.year.ago)).value(\"\")\n set_cookies[key.to_s] = cookie\nend"}},{"html_id":"delete(key:Key,&):Nil-instance-method","name":"delete","doc":"Delete a specific cookie by name `key`. Yield that cookie\nto the block so you can add additional options like domain, path, etc...","summary":"

    Delete a specific cookie by name key.

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key, &) : Nil","args_html":"(key : Key, &) : Nil","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":71,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L71"},"def":{"name":"delete","args":[{"name":"key","external_name":"key","restriction":"Key"}],"yields":1,"block_arity":1,"return_type":"Nil","visibility":"Public","body":"if cookie = cookies[key.to_s]?\n yield cookie\n delete(cookie.name)\nend"}},{"html_id":"deleted?(key:Key):Bool-instance-method","name":"deleted?","doc":"Returns `true` if the cookie has been expired, and has no value.\nWill return `false` if the cookie does not exist, or is valid.","summary":"

    Returns true if the cookie has been expired, and has no value.

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : Bool","args_html":"(key : Key) : Bool","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":80,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L80"},"def":{"name":"deleted?","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"Bool","visibility":"Public","body":"if cookie = cookies[key.to_s]?\n cookie.expired? && (cookie.value == \"\")\nelse\n false\nend"}},{"html_id":"get(key:Key):String-instance-method","name":"get","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String","args_html":"(key : Key) : String","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":96,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L96"},"def":{"name":"get","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String","visibility":"Public","body":"(get?(key)) || (raise(CookieNotFoundError.new(key)))"}},{"html_id":"get?(key:Key):String|Nil-instance-method","name":"get?","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String | Nil","args_html":"(key : Key) : String | Nil","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":104,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L104"},"def":{"name":"get?","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String | ::Nil","visibility":"Public","body":"begin\n cookies[key.to_s]?.try do |cookie|\n decrypt(cookie.value, cookie.name)\n end\nrescue OpenSSL::Cipher::Error\n nil\nend"}},{"html_id":"get_raw(key:Key):HTTP::Cookie-instance-method","name":"get_raw","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : HTTP::Cookie","args_html":"(key : Key) : HTTP::Cookie","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":88,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L88"},"def":{"name":"get_raw","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"HTTP::Cookie","visibility":"Public","body":"(get_raw?(key)) || (raise(CookieNotFoundError.new(key)))"}},{"html_id":"get_raw?(key:Key):HTTP::Cookie|Nil-instance-method","name":"get_raw?","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : HTTP::Cookie | Nil","args_html":"(key : Key) : HTTP::Cookie | Nil","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":92,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L92"},"def":{"name":"get_raw?","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"HTTP::Cookie | ::Nil","visibility":"Public","body":"cookies[key.to_s]?"}},{"html_id":"raw:HTTP::Cookies-instance-method","name":"raw","abstract":false,"location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L29"},"def":{"name":"raw","return_type":"HTTP::Cookies","visibility":"Public","body":"cookies"}},{"html_id":"set(key:Key,value:String):HTTP::Cookie-instance-method","name":"set","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(key : Key, value : String) : HTTP::Cookie","args_html":"(key : Key, value : String) : HTTP::Cookie","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":116,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L116"},"def":{"name":"set","args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"return_type":"HTTP::Cookie","visibility":"Public","body":"set_raw(key, encrypt(value))"}},{"html_id":"set_raw(key:Key,value:String):HTTP::Cookie-instance-method","name":"set_raw","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(key : Key, value : String) : HTTP::Cookie","args_html":"(key : Key, value : String) : HTTP::Cookie","location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":124,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L124"},"def":{"name":"set_raw","args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"return_type":"HTTP::Cookie","visibility":"Public","body":"begin\n raw_cookie = HTTP::Cookie.new(name: key.to_s, value: value, http_only: true).tap do |cookie|\n settings.on_set.try(&.call(cookie))\n end\n if raw_cookie.to_set_cookie_header.bytesize > MAX_COOKIE_SIZE\n raise(Lucky::CookieOverflowError.new(\"size of '#{key}' cookie is too big\"))\n end\n cookies[key.to_s] = set_cookies[key.to_s] = raw_cookie\nrescue IO::Error\n raise(InvalidCookieValueError.new(key))\nend"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L8"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}},{"html_id":"updated:HTTP::Cookies-instance-method","name":"updated","abstract":false,"location":{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":33,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L33"},"def":{"name":"updated","return_type":"HTTP::Cookies","visibility":"Public","body":"set_cookies"}}],"types":[{"html_id":"lucky/Lucky/CookieJar/HabitatSettings","path":"Lucky/CookieJar/HabitatSettings.html","kind":"class","full_name":"Lucky::CookieJar::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L8"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/CookieJar","kind":"class","full_name":"Lucky::CookieJar","name":"CookieJar"},"class_methods":[{"html_id":"on_set:HTTP::Cookie->HTTP::Cookie|Nil-class-method","name":"on_set","abstract":false,"def":{"name":"on_set","return_type":"(HTTP::Cookie -> HTTP::Cookie) | ::Nil","visibility":"Public","body":"@@on_set"}},{"html_id":"on_set=(value:HTTP::Cookie->HTTP::Cookie|Nil)-class-method","name":"on_set=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"(HTTP::Cookie -> HTTP::Cookie) | ::Nil"}],"args_string":"(value : HTTP::Cookie -> HTTP::Cookie | Nil)","args_html":"(value : HTTP::Cookie -> HTTP::Cookie | Nil)","def":{"name":"on_set=","args":[{"name":"value","external_name":"value","restriction":"(HTTP::Cookie -> HTTP::Cookie) | ::Nil"}],"visibility":"Public","body":"@@on_set = value"}},{"html_id":"on_set?-class-method","name":"on_set?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use on_set in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use on_set in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"on_set?","visibility":"Public","body":"@@on_set"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"on_set\" => on_set}"}}]},{"html_id":"lucky/Lucky/CookieJar/Key","path":"Lucky/CookieJar/Key.html","kind":"alias","full_name":"Lucky::CookieJar::Key","name":"Key","abstract":false,"locations":[{"filename":"src/lucky/cookies/cookie_jar.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/cookie_jar.cr#L4"}],"repository_name":"lucky","program":false,"enum":false,"alias":true,"aliased":"(String | Symbol)","aliased_html":"String | Symbol","const":false,"namespace":{"html_id":"lucky/Lucky/CookieJar","kind":"class","full_name":"Lucky::CookieJar","name":"CookieJar"}}]},{"html_id":"lucky/Lucky/CookieNotFoundError","path":"Lucky/CookieNotFoundError.html","kind":"class","full_name":"Lucky::CookieNotFoundError","name":"CookieNotFoundError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"},{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":103,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L103"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Raised when getting a cookie that doesn't exist.","summary":"

    Raised when getting a cookie that doesn't exist.

    ","constructors":[{"html_id":"new(key:String|Symbol)-class-method","name":"new","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol)","args_html":"(key : String | Symbol)","location":{"filename":"src/lucky/errors.cr","line_number":108,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L108"},"def":{"name":"new","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"visibility":"Public","body":"_ = allocate\n_.initialize(key)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"key:String|Symbol-instance-method","name":"key","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":106,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L106"},"def":{"name":"key","visibility":"Public","body":"@key"}},{"html_id":"message:String-instance-method","name":"message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":111,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L111"},"def":{"name":"message","return_type":"String","visibility":"Public","body":"\"No cookie found with the key: '#{key}'\""}},{"html_id":"renderable_message:String-instance-method","name":"renderable_message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":119,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L119"},"def":{"name":"renderable_message","return_type":"String","visibility":"Public","body":"message"}},{"html_id":"renderable_status:Int32-instance-method","name":"renderable_status","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":115,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L115"},"def":{"name":"renderable_status","return_type":"Int32","visibility":"Public","body":"400"}}]},{"html_id":"lucky/Lucky/CookieOverflowError","path":"Lucky/CookieOverflowError.html","kind":"class","full_name":"Lucky::CookieOverflowError","name":"CookieOverflowError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":99,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L99"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Raised when storing more than 4K of session data.","summary":"

    Raised when storing more than 4K of session data.

    "},{"html_id":"lucky/Lucky/CustomTags","path":"Lucky/CustomTags.html","kind":"module","full_name":"Lucky::CustomTags","name":"CustomTags","abstract":false,"ancestors":[{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"}],"locations":[{"filename":"src/lucky/tags/custom_tags.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/custom_tags.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"EMPTY_HTML_ATTRS","name":"EMPTY_HTML_ATTRS","value":"{} of String => String"}],"included_modules":[{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"}],"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"empty_tag(tag_name:String,options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"empty_tag","doc":"Outputs a custom tag with no tag closing.\n`empty_tag(\"br\")` => `
    `","summary":"

    Outputs a custom tag with no tag closing.

    ","abstract":false,"args":[{"name":"tag_name","external_name":"tag_name","restriction":"String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(tag_name : String, options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(tag_name : String, options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/custom_tags.cr","line_number":38,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/custom_tags.cr#L38"},"def":{"name":"empty_tag","args":[{"name":"tag_name","external_name":"tag_name","restriction":"String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\n((view << \"<#{tag_name}\") << tag_attrs) << \">\"\n"}},{"html_id":"tag(tag_name:String,content:Lucky::AllowedInTags|String|Nil=\"\",options=EMPTY_HTML_ATTRS,attrs:Array(Symbol)=[]ofSymbol,**other_options):Nil-instance-method","name":"tag","abstract":false,"args":[{"name":"tag_name","external_name":"tag_name","restriction":"String"},{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String | ::Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(tag_name : String, content : Lucky::AllowedInTags | String | Nil = \"\", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","args_html":"(tag_name : String, content : Lucky::AllowedInTags | String | Nil = "", options = EMPTY_HTML_ATTRS, attrs : Array(Symbol) = [] of Symbol, **other_options) : Nil","location":{"filename":"src/lucky/tags/custom_tags.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/custom_tags.cr#L5"},"def":{"name":"tag","args":[{"name":"tag_name","external_name":"tag_name","restriction":"String"},{"name":"content","default_value":"\"\"","external_name":"content","restriction":"Lucky::AllowedInTags | String | ::Nil"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag(tag_name, attrs, merged_options) do\n text(content)\nend\n"}},{"html_id":"tag(tag_name:String,options=EMPTY_HTML_ATTRS,**other_options):Nil-instance-method","name":"tag","abstract":false,"args":[{"name":"tag_name","external_name":"tag_name","restriction":"String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(tag_name : String, options = EMPTY_HTML_ATTRS, **other_options) : Nil","args_html":"(tag_name : String, options = EMPTY_HTML_ATTRS, **other_options) : Nil","location":{"filename":"src/lucky/tags/custom_tags.cr","line_number":19,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/custom_tags.cr#L19"},"def":{"name":"tag","args":[{"name":"tag_name","external_name":"tag_name","restriction":"String"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"tag(tag_name, \"\", options, **other_options)"}},{"html_id":"tag(tag_name:String,attrs:Array(Symbol)=[]ofSymbol,options=EMPTY_HTML_ATTRS,**other_options,&):Nil-instance-method","name":"tag","abstract":false,"args":[{"name":"tag_name","external_name":"tag_name","restriction":"String"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"args_string":"(tag_name : String, attrs : Array(Symbol) = [] of Symbol, options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","args_html":"(tag_name : String, attrs : Array(Symbol) = [] of Symbol, options = EMPTY_HTML_ATTRS, **other_options, &) : Nil","location":{"filename":"src/lucky/tags/custom_tags.cr","line_number":27,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/custom_tags.cr#L27"},"def":{"name":"tag","args":[{"name":"tag_name","external_name":"tag_name","restriction":"String"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"},{"name":"options","default_value":"EMPTY_HTML_ATTRS","external_name":"options","restriction":""}],"double_splat":{"name":"other_options","external_name":"other_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"merged_options = merge_options(other_options, options)\ntag_attrs = build_tag_attrs(merged_options)\nboolean_attrs = build_boolean_attrs(attrs)\n(((view << \"<#{tag_name}\") << tag_attrs) << boolean_attrs) << \">\"\ncheck_tag_content!(yield)\nview << \"\"\n"}}]},{"html_id":"lucky/Lucky/DataResponse","path":"Lucky/DataResponse.html","kind":"class","full_name":"Lucky::DataResponse","name":"DataResponse","abstract":false,"superclass":{"html_id":"lucky/Lucky/Response","kind":"class","full_name":"Lucky::Response","name":"Response"},"ancestors":[{"html_id":"lucky/Lucky/Response","kind":"class","full_name":"Lucky::Response","name":"Response"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/data_response.cr","line_number":31,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L31"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"DEFAULT_STATUS","name":"DEFAULT_STATUS","value":"200"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":" data result, filename: \"my_report.csv\"\n end\nend\n```","summary":"
    data result, filename: "my_report.csv"   end end ```
    ","constructors":[{"html_id":"new(context:HTTP::Server::Context,data:String,content_type:String=\"application/octet-stream\",disposition:String=\"attachment\",filename:String|Nil=nil,status:Int32|Nil=nil,debug_message:String|Nil=nil)-class-method","name":"new","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"},{"name":"data","external_name":"data","restriction":"String"},{"name":"content_type","default_value":"\"application/octet-stream\"","external_name":"content_type","restriction":"String"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"debug_message","default_value":"nil","external_name":"debug_message","restriction":"String | ::Nil"}],"args_string":"(context : HTTP::Server::Context, data : String, content_type : String = \"application/octet-stream\", disposition : String = \"attachment\", filename : String | Nil = nil, status : Int32 | Nil = nil, debug_message : String | Nil = nil)","args_html":"(context : HTTP::Server::Context, data : String, content_type : String = "application/octet-stream", disposition : String = "attachment", filename : String | Nil = nil, status : Int32 | Nil = nil, debug_message : String | Nil = nil)","location":{"filename":"src/lucky/data_response.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L36"},"def":{"name":"new","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"},{"name":"data","external_name":"data","restriction":"String"},{"name":"content_type","default_value":"\"application/octet-stream\"","external_name":"content_type","restriction":"String"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"debug_message","default_value":"nil","external_name":"debug_message","restriction":"String | ::Nil"}],"visibility":"Public","body":"_ = allocate\n_.initialize(context, data, content_type, disposition, filename, status, debug_message)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"content_type:String-instance-method","name":"content_type","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":34,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L34"},"def":{"name":"content_type","visibility":"Public","body":"@content_type"}},{"html_id":"context:HTTP::Server::Context-instance-method","name":"context","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":34,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L34"},"def":{"name":"context","visibility":"Public","body":"@context"}},{"html_id":"data:String-instance-method","name":"data","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":34,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L34"},"def":{"name":"data","visibility":"Public","body":"@data"}},{"html_id":"debug_message:String?-instance-method","name":"debug_message","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":34,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L34"},"def":{"name":"debug_message","visibility":"Public","body":"@debug_message"}},{"html_id":"disposition:String-instance-method","name":"disposition","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":68,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L68"},"def":{"name":"disposition","return_type":"String","visibility":"Public","body":"if custom_filename?\n \"#{@disposition}; filename=\\\"#{filename}\\\"\"\nelse\n @disposition\nend"}},{"html_id":"filename:String?-instance-method","name":"filename","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":34,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L34"},"def":{"name":"filename","visibility":"Public","body":"@filename"}},{"html_id":"headers-instance-method","name":"headers","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":34,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L34"},"def":{"name":"headers","visibility":"Public","body":"@headers"}},{"html_id":"print-instance-method","name":"print","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":45,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L45"},"def":{"name":"print","visibility":"Public","body":"set_response_headers\ncontext.response.print(data)\n"}},{"html_id":"status:Int-instance-method","name":"status","abstract":false,"location":{"filename":"src/lucky/data_response.cr","line_number":50,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/data_response.cr#L50"},"def":{"name":"status","return_type":"Int","visibility":"Public","body":"(@status || context.response.status_code) || DEFAULT_STATUS"}}]},{"html_id":"lucky/Lucky/EnforceUnderscoredRoute","path":"Lucky/EnforceUnderscoredRoute.html","kind":"module","full_name":"Lucky::EnforceUnderscoredRoute","name":"EnforceUnderscoredRoute","abstract":false,"locations":[{"filename":"src/lucky/enforce_underscored_route.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/enforce_underscored_route.cr#L5"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Include this in your actions to enforce underscores are used in your paths\n\nThis is purely to help maintain consistency in your app and can be removed if\ndesired.","summary":"

    Include this in your actions to enforce underscores are used in your paths

    ","macros":[{"html_id":"enforce_route_style(path,action)-macro","name":"enforce_route_style","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""},{"name":"action","external_name":"action","restriction":""}],"args_string":"(path, action)","args_html":"(path, action)","location":{"filename":"src/lucky/enforce_underscored_route.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/enforce_underscored_route.cr#L6"},"def":{"name":"enforce_route_style","args":[{"name":"path","external_name":"path","restriction":""},{"name":"action","external_name":"action","restriction":""}],"visibility":"Public","body":" \n{% if path.includes?(\"-\") %}\n {% raise(\"#{path} defined in '#{action}' should use an underscore.\\n\\nIn '#{action}'\\n\\n ▸ Change #{path}\\n ▸ To #{path.gsub(/-/, \"_\")}\\n\\nOr, skip the style check for this action\\n\\n class #{action}\\n + include Lucky::SkipRouteStyleCheck\\n end\\n\\nOr, skip checking all actions by removing 'Lucky::EnforceUnderscoredRoute'\\n\\n # Remove from both BrowserAction and ApiAction\\n class BrowserAction/ApiAction\\n - include Lucky::EnforceUnderscoredRoute\\n end\\n\\n\") %}\n {% end %}\n\n \n"}}]},{"html_id":"lucky/Lucky/Error","path":"Lucky/Error.html","kind":"class","full_name":"Lucky::Error","name":"Error","abstract":false,"superclass":{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},"ancestors":[{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L5"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"subclasses":[{"html_id":"lucky/Lucky/CookieNotFoundError","kind":"class","full_name":"Lucky::CookieNotFoundError","name":"CookieNotFoundError"},{"html_id":"lucky/Lucky/CookieOverflowError","kind":"class","full_name":"Lucky::CookieOverflowError","name":"CookieOverflowError"},{"html_id":"lucky/Lucky/InvalidCookieValueError","kind":"class","full_name":"Lucky::InvalidCookieValueError","name":"InvalidCookieValueError"},{"html_id":"lucky/Lucky/InvalidFlashJSONError","kind":"class","full_name":"Lucky::InvalidFlashJSONError","name":"InvalidFlashJSONError"},{"html_id":"lucky/Lucky/InvalidMessageError","kind":"class","full_name":"Lucky::InvalidMessageError","name":"InvalidMessageError"},{"html_id":"lucky/Lucky/InvalidParamError","kind":"class","full_name":"Lucky::InvalidParamError","name":"InvalidParamError"},{"html_id":"lucky/Lucky/InvalidSignatureError","kind":"class","full_name":"Lucky::InvalidSignatureError","name":"InvalidSignatureError"},{"html_id":"lucky/Lucky/InvalidSubdomainError","kind":"class","full_name":"Lucky::InvalidSubdomainError","name":"InvalidSubdomainError"},{"html_id":"lucky/Lucky/MissingFileError","kind":"class","full_name":"Lucky::MissingFileError","name":"MissingFileError"},{"html_id":"lucky/Lucky/MissingNestedParamError","kind":"class","full_name":"Lucky::MissingNestedParamError","name":"MissingNestedParamError"},{"html_id":"lucky/Lucky/MissingParamError","kind":"class","full_name":"Lucky::MissingParamError","name":"MissingParamError"},{"html_id":"lucky/Lucky/NotAcceptableError","kind":"class","full_name":"Lucky::NotAcceptableError","name":"NotAcceptableError"},{"html_id":"lucky/Lucky/ParamParsingError","kind":"class","full_name":"Lucky::ParamParsingError","name":"ParamParsingError"},{"html_id":"lucky/Lucky/RouteNotFoundError","kind":"class","full_name":"Lucky::RouteNotFoundError","name":"RouteNotFoundError"},{"html_id":"lucky/Lucky/UnknownAcceptHeaderError","kind":"class","full_name":"Lucky::UnknownAcceptHeaderError","name":"UnknownAcceptHeaderError"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"= Lucky Errors\n\nGeneric Lucky Record exception class.","summary":"

    = Lucky Errors

    "},{"html_id":"lucky/Lucky/ErrorAction","path":"Lucky/ErrorAction.html","kind":"class","full_name":"Lucky::ErrorAction","name":"ErrorAction","abstract":true,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Lucky/Exposable","kind":"module","full_name":"Lucky::Exposable","name":"Exposable"},{"html_id":"lucky/Lucky/Redirectable","kind":"module","full_name":"Lucky::Redirectable","name":"Redirectable"},{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/Renderable","kind":"module","full_name":"Lucky::Renderable","name":"Renderable"},{"html_id":"lucky/Lucky/ParamHelpers","kind":"module","full_name":"Lucky::ParamHelpers","name":"ParamHelpers"},{"html_id":"lucky/Lucky/ActionDelegates","kind":"module","full_name":"Lucky::ActionDelegates","name":"ActionDelegates"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/error_action.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"EXPOSURES","name":"EXPOSURES","value":"[] of Symbol"}],"included_modules":[{"html_id":"lucky/Lucky/ActionDelegates","kind":"module","full_name":"Lucky::ActionDelegates","name":"ActionDelegates"},{"html_id":"lucky/Lucky/Exposable","kind":"module","full_name":"Lucky::Exposable","name":"Exposable"},{"html_id":"lucky/Lucky/ParamHelpers","kind":"module","full_name":"Lucky::ParamHelpers","name":"ParamHelpers"},{"html_id":"lucky/Lucky/Redirectable","kind":"module","full_name":"Lucky::Redirectable","name":"Redirectable"},{"html_id":"lucky/Lucky/Renderable","kind":"module","full_name":"Lucky::Renderable","name":"Renderable"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(context:HTTP::Server::Context)-class-method","name":"new","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"args_string":"(context : HTTP::Server::Context)","args_html":"(context : HTTP::Server::Context)","location":{"filename":"src/lucky/error_action.cr","line_number":30,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L30"},"def":{"name":"new","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"visibility":"Public","body":"_ = allocate\n_.initialize(context)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"_dont_report-instance-method","name":"_dont_report","abstract":false,"location":{"filename":"src/lucky/error_action.cr","line_number":16,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L16"},"def":{"name":"_dont_report","visibility":"Public","body":"[] of Exception.class"}},{"html_id":"context:HTTP::Server::Context-instance-method","name":"context","abstract":false,"location":{"filename":"src/lucky/error_action.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L14"},"def":{"name":"context","visibility":"Public","body":"@context"}},{"html_id":"cookies(*args,**options)-instance-method","name":"cookies","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"cookies","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.cookies(*args, **options)"}},{"html_id":"cookies(*args,**options,&)-instance-method","name":"cookies","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"cookies","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.cookies(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"default_render(error:Exception):Lucky::Response-instance-method","name":"default_render","abstract":true,"args":[{"name":"error","external_name":"error","restriction":"Exception"}],"args_string":"(error : Exception) : Lucky::Response","args_html":"(error : Exception) : Lucky::Response","location":{"filename":"src/lucky/error_action.cr","line_number":37,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L37"},"def":{"name":"default_render","args":[{"name":"error","external_name":"error","restriction":"Exception"}],"return_type":"Lucky::Response","visibility":"Public","body":""}},{"html_id":"flash(*args,**options)-instance-method","name":"flash","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"flash","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.flash(*args, **options)"}},{"html_id":"flash(*args,**options,&)-instance-method","name":"flash","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"flash","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.flash(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"perform_action(error:Exception)-instance-method","name":"perform_action","abstract":false,"args":[{"name":"error","external_name":"error","restriction":"Exception"}],"args_string":"(error : Exception)","args_html":"(error : Exception)","location":{"filename":"src/lucky/error_action.cr","line_number":40,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L40"},"def":{"name":"perform_action","args":[{"name":"error","external_name":"error","restriction":"Exception"}],"visibility":"Public","body":"response = (render(error)) || (default_render(error))\nensure_response_is_returned(response)\nif html? && Lucky::ErrorHandler.settings.show_debug_output\n response = render_exception_page(error, response.status)\nend\nresponse.print\nif !(_dont_report.includes?(error.class))\n report(error)\nend\n"}},{"html_id":"render_exception_page(error:Exception,status:Int):Lucky::Response-instance-method","name":"render_exception_page","abstract":false,"args":[{"name":"error","external_name":"error","restriction":"Exception"},{"name":"status","external_name":"status","restriction":"Int"}],"args_string":"(error : Exception, status : Int) : Lucky::Response","args_html":"(error : Exception, status : Int) : Lucky::Response","location":{"filename":"src/lucky/error_action.cr","line_number":81,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L81"},"def":{"name":"render_exception_page","args":[{"name":"error","external_name":"error","restriction":"Exception"},{"name":"status","external_name":"status","restriction":"Int"}],"return_type":"Lucky::Response","visibility":"Public","body":"send_text_response(body: (Lucky::ExceptionPage.for_runtime_exception(context, error)).to_s, content_type: \"text/html\", status: status)"}},{"html_id":"report(error:Exception):Nil-instance-method","name":"report","abstract":true,"args":[{"name":"error","external_name":"error","restriction":"Exception"}],"args_string":"(error : Exception) : Nil","args_html":"(error : Exception) : Nil","location":{"filename":"src/lucky/error_action.cr","line_number":38,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L38"},"def":{"name":"report","args":[{"name":"error","external_name":"error","restriction":"Exception"}],"return_type":"Nil","visibility":"Public","body":""}},{"html_id":"request(*args,**options)-instance-method","name":"request","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"request","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.request(*args, **options)"}},{"html_id":"request(*args,**options,&)-instance-method","name":"request","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"request","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.request(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"response(*args,**options)-instance-method","name":"response","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"response","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.response(*args, **options)"}},{"html_id":"response(*args,**options,&)-instance-method","name":"response","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"response","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.response(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"session(*args,**options)-instance-method","name":"session","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","def":{"name":"session","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"context.session(*args, **options)"}},{"html_id":"session(*args,**options,&)-instance-method","name":"session","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","def":{"name":"session","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"context.session(*args, **options) do |*yield_args|\n yield *yield_args\nend"}}],"macros":[{"html_id":"dont_report(exception_classes)-macro","name":"dont_report","abstract":false,"args":[{"name":"exception_classes","external_name":"exception_classes","restriction":""}],"args_string":"(exception_classes)","args_html":"(exception_classes)","location":{"filename":"src/lucky/error_action.cr","line_number":20,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_action.cr#L20"},"def":{"name":"dont_report","args":[{"name":"exception_classes","external_name":"exception_classes","restriction":""}],"visibility":"Public","body":" \n{% if exception_classes.is_a?(ArrayLiteral) %}\n def _dont_report\n {{ exception_classes }} of Exception.class\n end\n {% else %}\n {% exception_classes.raise(\"dont_report expects an array of Exception classes.\") %}\n {% end %}\n\n \n"}}]},{"html_id":"lucky/Lucky/ErrorHandler","path":"Lucky/ErrorHandler.html","kind":"class","full_name":"Lucky::ErrorHandler","name":"ErrorHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/error_handler.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_handler.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: show_debug_output : Bool, example: nil, validation: nil}, {decl: log_error_exception : Bool = true, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/error_handler.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_handler.cr#L4"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/error_handler.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_handler.cr#L4"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"constructors":[{"html_id":"new(action:Lucky::ErrorAction.class)-class-method","name":"new","abstract":false,"args":[{"name":"action","external_name":"action","restriction":"Lucky::ErrorAction.class"}],"args_string":"(action : Lucky::ErrorAction.class)","args_html":"(action : Lucky::ErrorAction.class)","location":{"filename":"src/lucky/error_handler.cr","line_number":11,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_handler.cr#L11"},"def":{"name":"new","args":[{"name":"action","external_name":"action","restriction":"Lucky::ErrorAction.class"}],"visibility":"Public","body":"_ = allocate\n_.initialize(action)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"call(context:HTTP::Server::Context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"args_string":"(context : HTTP::Server::Context)","args_html":"(context : HTTP::Server::Context)","location":{"filename":"src/lucky/error_handler.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_handler.cr#L14"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"visibility":"Public","body":"begin\n call_next(context)\nrescue error : Exception\n call_error_action(context, error)\nend"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/error_handler.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_handler.cr#L4"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"types":[{"html_id":"lucky/Lucky/ErrorHandler/HabitatSettings","path":"Lucky/ErrorHandler/HabitatSettings.html","kind":"class","full_name":"Lucky::ErrorHandler::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/error_handler.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/error_handler.cr#L4"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/ErrorHandler","kind":"class","full_name":"Lucky::ErrorHandler","name":"ErrorHandler"},"class_methods":[{"html_id":"log_error_exception:Bool-class-method","name":"log_error_exception","abstract":false,"def":{"name":"log_error_exception","return_type":"Bool","visibility":"Public","body":"@@log_error_exception.not_nil!"}},{"html_id":"log_error_exception=(value:Bool)-class-method","name":"log_error_exception=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Bool"}],"args_string":"(value : Bool)","args_html":"(value : Bool)","def":{"name":"log_error_exception=","args":[{"name":"value","external_name":"value","restriction":"Bool"}],"visibility":"Public","body":"@@log_error_exception = value"}},{"html_id":"log_error_exception?-class-method","name":"log_error_exception?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use log_error_exception in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use log_error_exception in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"log_error_exception?","visibility":"Public","body":"@@log_error_exception"}},{"html_id":"show_debug_output:Bool-class-method","name":"show_debug_output","abstract":false,"def":{"name":"show_debug_output","return_type":"Bool","visibility":"Public","body":"@@show_debug_output.not_nil!"}},{"html_id":"show_debug_output=(value:Bool)-class-method","name":"show_debug_output=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Bool"}],"args_string":"(value : Bool)","args_html":"(value : Bool)","def":{"name":"show_debug_output=","args":[{"name":"value","external_name":"value","restriction":"Bool"}],"visibility":"Public","body":"@@show_debug_output = value"}},{"html_id":"show_debug_output?-class-method","name":"show_debug_output?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use show_debug_output in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use show_debug_output in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"show_debug_output?","visibility":"Public","body":"@@show_debug_output"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"show_debug_output\" => show_debug_output, \"log_error_exception\" => log_error_exception}"}}]}]},{"html_id":"lucky/Lucky/Events","path":"Lucky/Events.html","kind":"module","full_name":"Lucky::Events","name":"Events","abstract":false,"locations":[{"filename":"src/lucky/events/pipe_event.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"types":[{"html_id":"lucky/Lucky/Events/PipeEvent","path":"Lucky/Events/PipeEvent.html","kind":"class","full_name":"Lucky::Events::PipeEvent","name":"PipeEvent","abstract":false,"superclass":{"html_id":"lucky/Pulsar/Event","kind":"class","full_name":"Pulsar::Event","name":"Event"},"ancestors":[{"html_id":"lucky/Pulsar/Event","kind":"class","full_name":"Pulsar::Event","name":"Event"},{"html_id":"lucky/Pulsar/BaseEvent","kind":"class","full_name":"Pulsar::BaseEvent","name":"BaseEvent"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/events/pipe_event.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/Events","kind":"module","full_name":"Lucky::Events","name":"Events"},"class_methods":[{"html_id":"logged_events-class-method","name":"logged_events","doc":"Used by `Pulsar::SpecHelper` to test for logged events","summary":"

    Used by Pulsar::SpecHelper to test for logged events

    ","abstract":false,"def":{"name":"logged_events","visibility":"Public","body":"@@logged_events"}},{"html_id":"logged_events=(logged_events)-class-method","name":"logged_events=","doc":"Used by `Pulsar::SpecHelper` to test for logged events","summary":"

    Used by Pulsar::SpecHelper to test for logged events

    ","abstract":false,"args":[{"name":"logged_events","external_name":"logged_events","restriction":""}],"args_string":"(logged_events)","args_html":"(logged_events)","def":{"name":"logged_events=","args":[{"name":"logged_events","external_name":"logged_events","restriction":""}],"visibility":"Public","body":"@@logged_events = logged_events"}}],"constructors":[{"html_id":"new(name:String,position:Position,continued:Bool)-class-method","name":"new","abstract":false,"args":[{"name":"name","external_name":"name","restriction":"String"},{"name":"position","external_name":"position","restriction":"Position"},{"name":"continued","external_name":"continued","restriction":"Bool"}],"args_string":"(name : String, position : Position, continued : Bool)","args_html":"(name : String, position : Position, continued : Bool)","location":{"filename":"src/lucky/events/pipe_event.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L9"},"def":{"name":"new","args":[{"name":"name","external_name":"name","restriction":"String"},{"name":"position","external_name":"position","restriction":"Position"},{"name":"continued","external_name":"continued","restriction":"Bool"}],"visibility":"Public","body":"_ = allocate\n_.initialize(name, position, continued)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"after?:Bool-instance-method","name":"after?","abstract":false,"location":{"filename":"src/lucky/events/pipe_event.cr","line_number":20,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L20"},"def":{"name":"after?","return_type":"Bool","visibility":"Public","body":"position == Position::After"}},{"html_id":"before?:Bool-instance-method","name":"before?","abstract":false,"location":{"filename":"src/lucky/events/pipe_event.cr","line_number":16,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L16"},"def":{"name":"before?","return_type":"Bool","visibility":"Public","body":"position == Position::Before"}},{"html_id":"continued:Bool-instance-method","name":"continued","abstract":false,"location":{"filename":"src/lucky/events/pipe_event.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L2"},"def":{"name":"continued","visibility":"Public","body":"@continued"}},{"html_id":"name:String-instance-method","name":"name","doc":"Returns the name of the event.\n\nThe event name is the name of the class. So an class of `MyShard::MyEvent` would\nreturn `\"MyShard::MyEvent\"`.","summary":"

    Returns the name of the event.

    ","abstract":false,"location":{"filename":"src/lucky/events/pipe_event.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L2"},"def":{"name":"name","visibility":"Public","body":"@name"}},{"html_id":"position:Lucky::Events::PipeEvent::Position-instance-method","name":"position","abstract":false,"location":{"filename":"src/lucky/events/pipe_event.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L2"},"def":{"name":"position","visibility":"Public","body":"@position"}},{"html_id":"started_at:Time-instance-method","name":"started_at","doc":"When the event started","summary":"

    When the event started

    ","abstract":false,"def":{"name":"started_at","return_type":"Time","visibility":"Public","body":"@started_at"}}],"types":[{"html_id":"lucky/Lucky/Events/PipeEvent/Position","path":"Lucky/Events/PipeEvent/Position.html","kind":"enum","full_name":"Lucky::Events::PipeEvent::Position","name":"Position","abstract":false,"ancestors":[{"html_id":"lucky/Enum","kind":"struct","full_name":"Enum","name":"Enum"},{"html_id":"lucky/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/events/pipe_event.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L4"}],"repository_name":"lucky","program":false,"enum":true,"alias":false,"const":false,"constants":[{"id":"Before","name":"Before","value":"0"},{"id":"After","name":"After","value":"1"}],"namespace":{"html_id":"lucky/Lucky/Events/PipeEvent","kind":"class","full_name":"Lucky::Events::PipeEvent","name":"PipeEvent"},"instance_methods":[{"html_id":"after?-instance-method","name":"after?","abstract":false,"location":{"filename":"src/lucky/events/pipe_event.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L6"},"def":{"name":"after?","visibility":"Public","body":"self == After"}},{"html_id":"before?-instance-method","name":"before?","abstract":false,"location":{"filename":"src/lucky/events/pipe_event.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/pipe_event.cr#L5"},"def":{"name":"before?","visibility":"Public","body":"self == Before"}}]}]},{"html_id":"lucky/Lucky/Events/RequestCompleteEvent","path":"Lucky/Events/RequestCompleteEvent.html","kind":"class","full_name":"Lucky::Events::RequestCompleteEvent","name":"RequestCompleteEvent","abstract":false,"superclass":{"html_id":"lucky/Pulsar/Event","kind":"class","full_name":"Pulsar::Event","name":"Event"},"ancestors":[{"html_id":"lucky/Pulsar/Event","kind":"class","full_name":"Pulsar::Event","name":"Event"},{"html_id":"lucky/Pulsar/BaseEvent","kind":"class","full_name":"Pulsar::BaseEvent","name":"BaseEvent"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/events/request_complete_event.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/request_complete_event.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/Events","kind":"module","full_name":"Lucky::Events","name":"Events"},"class_methods":[{"html_id":"logged_events-class-method","name":"logged_events","doc":"Used by `Pulsar::SpecHelper` to test for logged events","summary":"

    Used by Pulsar::SpecHelper to test for logged events

    ","abstract":false,"def":{"name":"logged_events","visibility":"Public","body":"@@logged_events"}},{"html_id":"logged_events=(logged_events)-class-method","name":"logged_events=","doc":"Used by `Pulsar::SpecHelper` to test for logged events","summary":"

    Used by Pulsar::SpecHelper to test for logged events

    ","abstract":false,"args":[{"name":"logged_events","external_name":"logged_events","restriction":""}],"args_string":"(logged_events)","args_html":"(logged_events)","def":{"name":"logged_events=","args":[{"name":"logged_events","external_name":"logged_events","restriction":""}],"visibility":"Public","body":"@@logged_events = logged_events"}}],"constructors":[{"html_id":"new(duration:Time::Span)-class-method","name":"new","abstract":false,"args":[{"name":"duration","external_name":"duration","restriction":"Time::Span"}],"args_string":"(duration : Time::Span)","args_html":"(duration : Time::Span)","location":{"filename":"src/lucky/events/request_complete_event.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/request_complete_event.cr#L4"},"def":{"name":"new","args":[{"name":"duration","external_name":"duration","restriction":"Time::Span"}],"visibility":"Public","body":"_ = allocate\n_.initialize(duration)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"duration:Time::Span-instance-method","name":"duration","abstract":false,"location":{"filename":"src/lucky/events/request_complete_event.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/events/request_complete_event.cr#L2"},"def":{"name":"duration","return_type":"Time::Span","visibility":"Public","body":"@duration"}},{"html_id":"started_at:Time-instance-method","name":"started_at","doc":"When the event started","summary":"

    When the event started

    ","abstract":false,"def":{"name":"started_at","return_type":"Time","visibility":"Public","body":"@started_at"}}]}]},{"html_id":"lucky/Lucky/ExceptionPage","path":"Lucky/ExceptionPage.html","kind":"class","full_name":"Lucky::ExceptionPage","name":"ExceptionPage","abstract":false,"superclass":{"html_id":"lucky/ExceptionPage","kind":"class","full_name":"ExceptionPage","name":"ExceptionPage"},"ancestors":[{"html_id":"lucky/ExceptionPage","kind":"class","full_name":"ExceptionPage","name":"ExceptionPage"},{"html_id":"lucky/ExceptionPage/Helpers","kind":"module","full_name":"ExceptionPage::Helpers","name":"Helpers"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/exception_page.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/exception_page.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"project_url:String-instance-method","name":"project_url","doc":"Add an optional link to your project","summary":"

    Add an optional link to your project

    ","abstract":false,"location":{"filename":"src/lucky/exception_page.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/exception_page.cr#L6"},"def":{"name":"project_url","return_type":"String","visibility":"Public","body":"\"https://luckyframework.org/\""}},{"html_id":"styles:ExceptionPage::Styles-instance-method","name":"styles","abstract":false,"location":{"filename":"src/lucky/exception_page.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/exception_page.cr#L2"},"def":{"name":"styles","return_type":"ExceptionPage::Styles","visibility":"Public","body":"Styles.new(accent: lucky_green, logo_uri: lucky_logo)"}}]},{"html_id":"lucky/Lucky/Exposable","path":"Lucky/Exposable.html","kind":"module","full_name":"Lucky::Exposable","name":"Exposable","abstract":false,"locations":[{"filename":"src/lucky/exposable.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/exposable.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/Action","kind":"class","full_name":"Lucky::Action","name":"Action"},{"html_id":"lucky/Lucky/ErrorAction","kind":"class","full_name":"Lucky::ErrorAction","name":"ErrorAction"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"macros":[{"html_id":"expose(method_name)-macro","name":"expose","doc":"Sends the result of a method to the page as if it was passed as an argument.\n\nImagine having data that is used by many actions across your app, such\nas the current user. It can get tedious to pass that data for every action.\nThe `expose` macro will make sure that whatever data you need is passed\nautomatically.\n\nHere's what things might look like without `expose`:\n\n```\nclass BrowserAction\n def current_user\n # some way to find the current user\n end\nend\n```\n\nEach action must pass `current_user` manually. Note that each action\ninherits from `BrowserAction` and therefore has access to `current_user`:\n\n```\nclass Messages::Index < BrowserAction\n get \"/messages\" do\n html IndexPage, current_user: current_user\n end\nend\n\nclass Messages::New < BrowserAction\n get \"/messages/new\" do\n html NewPage, current_user: current_user\n end\nend\n```\n\nPassing `current_user: current_user` every time gets pretty old. Enter\n`expose`:\n\n```\nclass BrowserAction\n expose current_user\n\n def current_user\n # some way to find the current user\n end\nend\n```\n\nNow our actions are much nicer, especially when we start to have multiple\narguments for each action:\n\n```\nclass Messages::Index < BrowserAction\n get \"/messages\" do\n html IndexPage\n end\nend\n\nclass Messages::New < BrowserAction\n get \"/messages/new\" do\n html NewPage\n end\nend\n```\n\n## Exposing private methods\n\nAlso useful is the ability to make a private method available:\n\n```\nclass Messages::Show < BrowserAction\n expose message\n\n get \"/messages/:id\" do\n html ShowPage\n end\n\n private def message\n MessageQuery.find(id)\n end\nend\n```\n\nUsing `expose` here will pass `message` to the `ShowPage`, while keeping the\nmethod private. Without `expose` the action would look like this:\n\n```\nget \"/messages/:id\" do\n html ShowPage, message: message\nend\n```","summary":"

    Sends the result of a method to the page as if it was passed as an argument.

    ","abstract":false,"args":[{"name":"method_name","external_name":"method_name","restriction":""}],"args_string":"(method_name)","args_html":"(method_name)","location":{"filename":"src/lucky/exposable.cr","line_number":109,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/exposable.cr#L109"},"def":{"name":"expose","args":[{"name":"method_name","external_name":"method_name","restriction":""}],"visibility":"Public","body":" \n{% method_name_str = method_name.stringify %}\n\n \n{% if (method_name_str.ends_with?('?')) || (method_name_str.ends_with?('!')) %}\n {% method_name.raise(\"\\nMethods ending in '?' or '!' cannot be exposed to pages.\\n#{@type.name} called `expose #{method_name_str.id}`\\n\\nTry this...\\n\\n ▸ Define your method without ? or ! then...\\n ▸ expose #{(method_name_str.gsub(/[!?]$/, \"\")).id}\") %}\n {% end %}\n\n \n{% EXPOSURES << method_name.id %}\n\n \n"}}]},{"html_id":"lucky/Lucky/FileResponse","path":"Lucky/FileResponse.html","kind":"class","full_name":"Lucky::FileResponse","name":"FileResponse","abstract":false,"superclass":{"html_id":"lucky/Lucky/Response","kind":"class","full_name":"Lucky::Response","name":"Response"},"ancestors":[{"html_id":"lucky/Lucky/Response","kind":"class","full_name":"Lucky::Response","name":"Response"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/file_response.cr","line_number":41,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L41"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"DEFAULT_STATUS","name":"DEFAULT_STATUS","value":"200"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Return a file's contents for the request.\n\n`file` can be used to return a file and it's contents to the browser, or\nrender the contents of the file inline to a web browser. Options for the\nmethod:\n\n* `path` - first argument, _required_. The path to the file.\n* `content_type` - defaults to the mime-type that corresponds to the file's\n extension.\n* `disposition` - default \"attachment\" (downloads file), or \"inline\"\n (renders file in browser).\n* `filename` - default `nil`. When overridden and paired with\n `disposition: \"attachment\"` this will download file with the provided\n filename.\n* status - `Int32` - the HTTP status code to\n return with.\n\nExamples:\n\n```\nclass Rendering::File < Lucky::Action\n get \"/file\" do\n file \"spec/fixtures/lucky_logo.png\"\n end\nend\n```\n\nFor a plain text file with no extension, have it downloaded with the file\nnamed \"custom.html\" and the content_type \"text/html\":\n\n```\nclass Rendering::File::CustomContentType < Lucky::Action\n get \"/foo\" do\n file \"spec/fixtures/plain_text\",\n disposition: \"attachment\",\n filename: \"custom.html\",\n content_type: \"text/html\"\n end\nend\n```","summary":"

    Return a file's contents for the request.

    ","constructors":[{"html_id":"new(context:HTTP::Server::Context,path:String,content_type:String|Nil=nil,disposition:String=\"attachment\",filename:String|Nil=nil,status:Int32|Nil=nil,debug_message:String|Nil=nil)-class-method","name":"new","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"},{"name":"path","external_name":"path","restriction":"String"},{"name":"content_type","default_value":"nil","external_name":"content_type","restriction":"String | ::Nil"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"debug_message","default_value":"nil","external_name":"debug_message","restriction":"String | ::Nil"}],"args_string":"(context : HTTP::Server::Context, path : String, content_type : String | Nil = nil, disposition : String = \"attachment\", filename : String | Nil = nil, status : Int32 | Nil = nil, debug_message : String | Nil = nil)","args_html":"(context : HTTP::Server::Context, path : String, content_type : String | Nil = nil, disposition : String = "attachment", filename : String | Nil = nil, status : Int32 | Nil = nil, debug_message : String | Nil = nil)","location":{"filename":"src/lucky/file_response.cr","line_number":46,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L46"},"def":{"name":"new","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"},{"name":"path","external_name":"path","restriction":"String"},{"name":"content_type","default_value":"nil","external_name":"content_type","restriction":"String | ::Nil"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"debug_message","default_value":"nil","external_name":"debug_message","restriction":"String | ::Nil"}],"visibility":"Public","body":"_ = allocate\n_.initialize(context, path, content_type, disposition, filename, status, debug_message)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"content_type-instance-method","name":"content_type","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":80,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L80"},"def":{"name":"content_type","visibility":"Public","body":"@content_type || content_type_from_file"}},{"html_id":"context:HTTP::Server::Context-instance-method","name":"context","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":44,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L44"},"def":{"name":"context","visibility":"Public","body":"@context"}},{"html_id":"debug_message:String?-instance-method","name":"debug_message","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":44,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L44"},"def":{"name":"debug_message","visibility":"Public","body":"@debug_message"}},{"html_id":"disposition:String-instance-method","name":"disposition","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":84,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L84"},"def":{"name":"disposition","return_type":"String","visibility":"Public","body":"if custom_filename?\n \"#{@disposition}; filename=\\\"#{filename}\\\"\"\nelse\n @disposition\nend"}},{"html_id":"filename:String?-instance-method","name":"filename","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":44,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L44"},"def":{"name":"filename","visibility":"Public","body":"@filename"}},{"html_id":"headers-instance-method","name":"headers","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":44,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L44"},"def":{"name":"headers","visibility":"Public","body":"@headers"}},{"html_id":"path:String-instance-method","name":"path","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":44,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L44"},"def":{"name":"path","visibility":"Public","body":"@path"}},{"html_id":"print-instance-method","name":"print","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":55,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L55"},"def":{"name":"print","visibility":"Public","body":"if file_exists?\nelse\n raise(Lucky::MissingFileError.new(path))\nend\nset_response_headers\ncontext.response.status_code = status\nFile.open(full_path) do |file|\n IO.copy(file, context.response)\nend\n"}},{"html_id":"status:Int-instance-method","name":"status","abstract":false,"location":{"filename":"src/lucky/file_response.cr","line_number":63,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/file_response.cr#L63"},"def":{"name":"status","return_type":"Int","visibility":"Public","body":"(@status || context.response.status_code) || DEFAULT_STATUS"}}]},{"html_id":"lucky/Lucky/FlashStore","path":"Lucky/FlashStore.html","kind":"class","full_name":"Lucky::FlashStore","name":"FlashStore","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/cookies/flash_store.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"SESSION_KEY","name":"SESSION_KEY","value":"\"_flash\""}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"from_session(session:Lucky::Session):Lucky::FlashStore-class-method","name":"from_session","abstract":false,"args":[{"name":"session","external_name":"session","restriction":"Lucky::Session"}],"args_string":"(session : Lucky::Session) : Lucky::FlashStore","args_html":"(session : Lucky::Session) : Lucky::FlashStore","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L10"},"def":{"name":"from_session","args":[{"name":"session","external_name":"session","restriction":"Lucky::Session"}],"return_type":"Lucky::FlashStore","visibility":"Public","body":"new.from_session(session)"}}],"instance_methods":[{"html_id":"any?(*args,**options)-instance-method","name":"any?","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L8"},"def":{"name":"any?","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"flashes.any?(*args, **options)"}},{"html_id":"any?(*args,**options,&)-instance-method","name":"any?","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L8"},"def":{"name":"any?","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"flashes.any?(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"clear:Nil-instance-method","name":"clear","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":47,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L47"},"def":{"name":"clear","return_type":"Nil","visibility":"Public","body":"flashes.clear\ndiscard.clear\n"}},{"html_id":"each(*args,**options)-instance-method","name":"each","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L8"},"def":{"name":"each","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"flashes.each(*args, **options)"}},{"html_id":"each(*args,**options,&)-instance-method","name":"each","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L8"},"def":{"name":"each","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"flashes.each(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"empty?(*args,**options)-instance-method","name":"empty?","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L8"},"def":{"name":"empty?","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"flashes.empty?(*args, **options)"}},{"html_id":"empty?(*args,**options,&)-instance-method","name":"empty?","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L8"},"def":{"name":"empty?","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"flashes.empty?(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"failure:String-instance-method","name":"failure","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"failure","return_type":"String","visibility":"Public","body":"(get?(:failure)) || \"\""}},{"html_id":"failure=(message:String)-instance-method","name":"failure=","abstract":false,"args":[{"name":"message","external_name":"message","restriction":"String"}],"args_string":"(message : String)","args_html":"(message : String)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"failure=","args":[{"name":"message","external_name":"message","restriction":"String"}],"visibility":"Public","body":"set(:failure, message)"}},{"html_id":"failure?:String|Nil-instance-method","name":"failure?","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"failure?","return_type":"String | ::Nil","visibility":"Public","body":"get?(:failure)"}},{"html_id":"from_session(session:Lucky::Session):Lucky::FlashStore-instance-method","name":"from_session","abstract":false,"args":[{"name":"session","external_name":"session","restriction":"Lucky::Session"}],"args_string":"(session : Lucky::Session) : Lucky::FlashStore","args_html":"(session : Lucky::Session) : Lucky::FlashStore","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L14"},"def":{"name":"from_session","args":[{"name":"session","external_name":"session","restriction":"Lucky::Session"}],"return_type":"Lucky::FlashStore","visibility":"Public","body":"begin\n (session.get?(SESSION_KEY)).try do |json|\n (JSON.parse(json)).as_h.each do |key, value|\n set(key, value.as_s)\n end\n end\n self\nrescue e : JSON::ParseException\n raise(Lucky::InvalidFlashJSONError.new(session.get?(SESSION_KEY)))\nend"}},{"html_id":"get(key:Key):String-instance-method","name":"get","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String","args_html":"(key : Key) : String","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":57,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L57"},"def":{"name":"get","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String","visibility":"Public","body":"flashes[key.to_s]"}},{"html_id":"get?(key:Key):String|Nil-instance-method","name":"get?","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String | Nil","args_html":"(key : Key) : String | Nil","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":61,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L61"},"def":{"name":"get?","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String | ::Nil","visibility":"Public","body":"flashes[key.to_s]?"}},{"html_id":"info:String-instance-method","name":"info","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"info","return_type":"String","visibility":"Public","body":"(get?(:info)) || \"\""}},{"html_id":"info=(message:String)-instance-method","name":"info=","abstract":false,"args":[{"name":"message","external_name":"message","restriction":"String"}],"args_string":"(message : String)","args_html":"(message : String)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"info=","args":[{"name":"message","external_name":"message","restriction":"String"}],"visibility":"Public","body":"set(:info, message)"}},{"html_id":"info?:String|Nil-instance-method","name":"info?","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"info?","return_type":"String | ::Nil","visibility":"Public","body":"get?(:info)"}},{"html_id":"keep:Nil-instance-method","name":"keep","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":25,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L25"},"def":{"name":"keep","return_type":"Nil","visibility":"Public","body":"discard.clear"}},{"html_id":"set(key:Key,value:String):String-instance-method","name":"set","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(key : Key, value : String) : String","args_html":"(key : Key, value : String) : String","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":52,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L52"},"def":{"name":"set","args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"return_type":"String","visibility":"Public","body":"discard << key.to_s\nflashes[key.to_s] = value\n"}},{"html_id":"success:String-instance-method","name":"success","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"success","return_type":"String","visibility":"Public","body":"(get?(:success)) || \"\""}},{"html_id":"success=(message:String)-instance-method","name":"success=","abstract":false,"args":[{"name":"message","external_name":"message","restriction":"String"}],"args_string":"(message : String)","args_html":"(message : String)","location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"success=","args":[{"name":"message","external_name":"message","restriction":"String"}],"visibility":"Public","body":"set(:success, message)"}},{"html_id":"success?:String|Nil-instance-method","name":"success?","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L29"},"def":{"name":"success?","return_type":"String | ::Nil","visibility":"Public","body":"get?(:success)"}},{"html_id":"to_json:String-instance-method","name":"to_json","abstract":false,"location":{"filename":"src/lucky/cookies/flash_store.cr","line_number":43,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L43"},"def":{"name":"to_json","return_type":"String","visibility":"Public","body":"(flashes.reject(discard)).to_json"}}],"types":[{"html_id":"lucky/Lucky/FlashStore/Key","path":"Lucky/FlashStore/Key.html","kind":"alias","full_name":"Lucky::FlashStore::Key","name":"Key","abstract":false,"locations":[{"filename":"src/lucky/cookies/flash_store.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/flash_store.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":true,"aliased":"(String | Symbol)","aliased_html":"String | Symbol","const":false,"namespace":{"html_id":"lucky/Lucky/FlashStore","kind":"class","full_name":"Lucky::FlashStore","name":"FlashStore"}}]},{"html_id":"lucky/Lucky/ForceSSLHandler","path":"Lucky/ForceSSLHandler.html","kind":"class","full_name":"Lucky::ForceSSLHandler","name":"ForceSSLHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/force_ssl_handler.cr","line_number":26,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/force_ssl_handler.cr#L26"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: redirect_status : Int32 = HTTP::Status::PERMANENT_REDIRECT.value, example: nil, validation: nil}, {decl: enabled : Bool, example: nil, validation: nil}, {decl: strict_transport_security : NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | ::Nil, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"*Enabled* - The handler can be enabled/disabled. This is helpful for working\nin a local development environment.\n\n*Strict-Transport-Security* - Settings to configure the ['Strict-Transport-Security' header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security)\n\n```\n# Usually in config/force_ssl_handler.cr\nLucky::ForceSSLHandler.configure do |settings|\n settings.redirect_status = 303\n settings.enabled = false\n settings.strict_transport_security = {max_age: 1.year, include_subdomains: true}\nend\n```","summary":"

    Enabled - The handler can be enabled/disabled.

    ","class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/force_ssl_handler.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/force_ssl_handler.cr#L29"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/force_ssl_handler.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/force_ssl_handler.cr#L29"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"call(context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":""}],"args_string":"(context)","args_html":"(context)","location":{"filename":"src/lucky/force_ssl_handler.cr","line_number":35,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/force_ssl_handler.cr#L35"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":""}],"visibility":"Public","body":"if disabled?\n call_next(context)\nelse\n if secure?(context)\n add_transport_header_if_enabled(context)\n call_next(context)\n else\n redirect_to_secure_version(context)\n end\nend"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/force_ssl_handler.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/force_ssl_handler.cr#L29"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"types":[{"html_id":"lucky/Lucky/ForceSSLHandler/HabitatSettings","path":"Lucky/ForceSSLHandler/HabitatSettings.html","kind":"class","full_name":"Lucky::ForceSSLHandler::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/force_ssl_handler.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/force_ssl_handler.cr#L29"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/ForceSSLHandler","kind":"class","full_name":"Lucky::ForceSSLHandler","name":"ForceSSLHandler"},"class_methods":[{"html_id":"enabled:Bool-class-method","name":"enabled","abstract":false,"def":{"name":"enabled","return_type":"Bool","visibility":"Public","body":"@@enabled.not_nil!"}},{"html_id":"enabled=(value:Bool)-class-method","name":"enabled=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Bool"}],"args_string":"(value : Bool)","args_html":"(value : Bool)","def":{"name":"enabled=","args":[{"name":"value","external_name":"value","restriction":"Bool"}],"visibility":"Public","body":"@@enabled = value"}},{"html_id":"enabled?-class-method","name":"enabled?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use enabled in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use enabled in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"enabled?","visibility":"Public","body":"@@enabled"}},{"html_id":"redirect_status:Int32-class-method","name":"redirect_status","abstract":false,"def":{"name":"redirect_status","return_type":"Int32","visibility":"Public","body":"@@redirect_status.not_nil!"}},{"html_id":"redirect_status=(value:Int32)-class-method","name":"redirect_status=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Int32"}],"args_string":"(value : Int32)","args_html":"(value : Int32)","def":{"name":"redirect_status=","args":[{"name":"value","external_name":"value","restriction":"Int32"}],"visibility":"Public","body":"@@redirect_status = value"}},{"html_id":"redirect_status?-class-method","name":"redirect_status?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use redirect_status in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use redirect_status in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"redirect_status?","visibility":"Public","body":"@@redirect_status"}},{"html_id":"strict_transport_security:NamedTuple(max_age:Time::Span|Time::MonthSpan,include_subdomains:Bool)|Nil-class-method","name":"strict_transport_security","abstract":false,"def":{"name":"strict_transport_security","return_type":"NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | ::Nil","visibility":"Public","body":"@@strict_transport_security"}},{"html_id":"strict_transport_security=(value:NamedTuple(max_age:Time::Span|Time::MonthSpan,include_subdomains:Bool)|Nil)-class-method","name":"strict_transport_security=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | ::Nil"}],"args_string":"(value : NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | Nil)","args_html":"(value : NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | Nil)","def":{"name":"strict_transport_security=","args":[{"name":"value","external_name":"value","restriction":"NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | ::Nil"}],"visibility":"Public","body":"@@strict_transport_security = value"}},{"html_id":"strict_transport_security?-class-method","name":"strict_transport_security?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use strict_transport_security in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use strict_transport_security in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"strict_transport_security?","visibility":"Public","body":"@@strict_transport_security"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"redirect_status\" => redirect_status, \"enabled\" => enabled, \"strict_transport_security\" => strict_transport_security}"}}]}]},{"html_id":"lucky/Lucky/ForgeryProtectionHelpers","path":"Lucky/ForgeryProtectionHelpers.html","kind":"module","full_name":"Lucky::ForgeryProtectionHelpers","name":"ForgeryProtectionHelpers","abstract":false,"locations":[{"filename":"src/lucky/tags/forgery_protection_helpers.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/forgery_protection_helpers.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"csrf_hidden_input:Nil-instance-method","name":"csrf_hidden_input","doc":"Generate a hidden input with the request CSRF token\n\nThis input is automatically generated when using\n`Lucky::FormHelpers#form_for`. It creates a hidden input with the CSRF\ntoken. THis ensures that the form is safe. If you try to submit a form\nwithout a CSRF token it will fail with a 403 forbidden status code.","summary":"

    Generate a hidden input with the request CSRF token

    ","abstract":false,"location":{"filename":"src/lucky/tags/forgery_protection_helpers.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/forgery_protection_helpers.cr#L8"},"def":{"name":"csrf_hidden_input","return_type":"Nil","visibility":"Public","body":"input(type: \"hidden\", name: ProtectFromForgery::PARAM_KEY, value: ProtectFromForgery.get_token(context))"}},{"html_id":"csrf_meta_tags:Nil-instance-method","name":"csrf_meta_tags","doc":"Meta tags used for submitting AJAX links and forms\n\nThese tags are automatically added to MainLayout when generating a new\nproject. They are used by Rails UJS to safely submit forms and non-GET AJAX\nrequests","summary":"

    Meta tags used for submitting AJAX links and forms

    ","abstract":false,"location":{"filename":"src/lucky/tags/forgery_protection_helpers.cr","line_number":19,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/forgery_protection_helpers.cr#L19"},"def":{"name":"csrf_meta_tags","return_type":"Nil","visibility":"Public","body":"meta(name: \"csrf-param\", content: ProtectFromForgery::PARAM_KEY)\nmeta(name: \"csrf-token\", content: ProtectFromForgery.get_token(context))\n"}}]},{"html_id":"lucky/Lucky/FormData","path":"Lucky/FormData.html","kind":"class","full_name":"Lucky::FormData","name":"FormData","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/form_data.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"add(part:HTTP::FormData::Part)-instance-method","name":"add","abstract":false,"args":[{"name":"part","external_name":"part","restriction":"HTTP::FormData::Part"}],"args_string":"(part : HTTP::FormData::Part)","args_html":"(part : HTTP::FormData::Part)","location":{"filename":"src/lucky/form_data.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L5"},"def":{"name":"add","args":[{"name":"part","external_name":"part","restriction":"HTTP::FormData::Part"}],"visibility":"Public","body":"case part.headers\nwhen .includes_word?(\"Content-Disposition\", \"filename\")\n files.add(part.name, Lucky::UploadedFile.new(part))\nelse\n params.add(part.name, part.body.gets_to_end)\nend"}},{"html_id":"files:Lucky::FormData::MultiValueStorage(Lucky::UploadedFile)-instance-method","name":"files","abstract":false,"location":{"filename":"src/lucky/form_data.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L3"},"def":{"name":"files","visibility":"Public","body":"@files"}},{"html_id":"params:Lucky::FormData::MultiValueStorage(String)-instance-method","name":"params","abstract":false,"location":{"filename":"src/lucky/form_data.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L2"},"def":{"name":"params","visibility":"Public","body":"@params"}}],"types":[{"html_id":"lucky/Lucky/FormData/MultiValueStorage","path":"Lucky/FormData/MultiValueStorage.html","kind":"class","full_name":"Lucky::FormData::MultiValueStorage(T)","name":"MultiValueStorage","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Enumerable","kind":"module","full_name":"Enumerable","name":"Enumerable"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/form_data.cr","line_number":15,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L15"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Enumerable","kind":"module","full_name":"Enumerable","name":"Enumerable"}],"namespace":{"html_id":"lucky/Lucky/FormData","kind":"class","full_name":"Lucky::FormData","name":"FormData"},"doc":"Simpler, generic implementation of HTTP::Params","summary":"

    Simpler, generic implementation of HTTP::Params

    ","constructors":[{"html_id":"new-class-method","name":"new","abstract":false,"location":{"filename":"src/lucky/form_data.cr","line_number":20,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L20"},"def":{"name":"new","visibility":"Public","body":"_ = MultiValueStorage(T).allocate\n_.initialize\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"[]?(key:String):T|Nil-instance-method","name":"[]?","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String"}],"args_string":"(key : String) : T | Nil","args_html":"(key : String) : T | Nil","location":{"filename":"src/lucky/form_data.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L24"},"def":{"name":"[]?","args":[{"name":"key","external_name":"key","restriction":"String"}],"return_type":"T | ::Nil","visibility":"Public","body":"storage[key]?.try(&.first?)"}},{"html_id":"add(key:String,value:T)-instance-method","name":"add","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String"},{"name":"value","external_name":"value","restriction":"T"}],"args_string":"(key : String, value : T)","args_html":"(key : String, value : T)","location":{"filename":"src/lucky/form_data.cr","line_number":32,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L32"},"def":{"name":"add","args":[{"name":"key","external_name":"key","restriction":"String"},{"name":"value","external_name":"value","restriction":"T"}],"visibility":"Public","body":"__temp_81 = key\n__temp_82 = storage\n__temp_82[__temp_81]? || (__temp_82[__temp_81] = [] of T)\nstorage[key] << value\n"}},{"html_id":"each(&)-instance-method","name":"each","doc":"Must yield this collection's elements to the block.","summary":"

    Must yield this collection's elements to the block.

    ","abstract":false,"location":{"filename":"src/lucky/form_data.cr","line_number":37,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L37"},"def":{"name":"each","yields":1,"block_arity":1,"visibility":"Public","body":"storage.each do |name, values|\n values.each do |value|\n yield({name, value})\n end\nend"}},{"html_id":"fetch_all(key:String):Array(T)-instance-method","name":"fetch_all","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String"}],"args_string":"(key : String) : Array(T)","args_html":"(key : String) : Array(T)","location":{"filename":"src/lucky/form_data.cr","line_number":28,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/form_data.cr#L28"},"def":{"name":"fetch_all","args":[{"name":"key","external_name":"key","restriction":"String"}],"return_type":"Array(T)","visibility":"Public","body":"storage.fetch(key) do\n [] of T\nend"}}]}]},{"html_id":"lucky/Lucky/FormHelpers","path":"Lucky/FormHelpers.html","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers","abstract":false,"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"locations":[{"filename":"src/lucky/tags/form_helpers.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/form_helpers.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: include_csrf_tag : Bool = true, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/tags/form_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/form_helpers.cr#L2"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/tags/form_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/form_helpers.cr#L2"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"form_for(route:Lucky::RouteHelper,attrs:Array(Symbol)=[]ofSymbol,**html_options,&):Nil-instance-method","name":"form_for","abstract":false,"args":[{"name":"route","external_name":"route","restriction":"Lucky::RouteHelper"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(route : Lucky::RouteHelper, attrs : Array(Symbol) = [] of Symbol, **html_options, &) : Nil","args_html":"(route : Lucky::RouteHelper, attrs : Array(Symbol) = [] of Symbol, **html_options, &) : Nil","location":{"filename":"src/lucky/tags/form_helpers.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/form_helpers.cr#L6"},"def":{"name":"form_for","args":[{"name":"route","external_name":"route","restriction":"Lucky::RouteHelper"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"form(attrs, build_form_options(route, html_options)) do\n if Lucky::FormHelpers.settings.include_csrf_tag\n csrf_hidden_input\n end\n method_override_input(route)\n yield\nend"}},{"html_id":"form_for(routeaction:Lucky::Action.class,attrs:Array(Symbol)=[]ofSymbol,**html_options,&):Nil-instance-method","name":"form_for","abstract":false,"args":[{"name":"action","external_name":"route","restriction":"Lucky::Action.class"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(route action : Lucky::Action.class, attrs : Array(Symbol) = [] of Symbol, **html_options, &) : Nil","args_html":"(route action : Lucky::Action.class, attrs : Array(Symbol) = [] of Symbol, **html_options, &) : Nil","location":{"filename":"src/lucky/tags/form_helpers.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/form_helpers.cr#L14"},"def":{"name":"form_for","args":[{"name":"action","external_name":"route","restriction":"Lucky::Action.class"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"form_for(action.route, attrs, **html_options) do\n yield\nend"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/tags/form_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/form_helpers.cr#L2"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}},{"html_id":"submit(text:String,attrs:Array(Symbol)=[]ofSymbol,**html_options):Nil-instance-method","name":"submit","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(text : String, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","args_html":"(text : String, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","location":{"filename":"src/lucky/tags/form_helpers.cr","line_number":20,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/form_helpers.cr#L20"},"def":{"name":"submit","args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"input(attrs, merge_options(html_options, {\"type\" => \"submit\", \"value\" => text}))"}}],"types":[{"html_id":"lucky/Lucky/FormHelpers/HabitatSettings","path":"Lucky/FormHelpers/HabitatSettings.html","kind":"class","full_name":"Lucky::FormHelpers::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/tags/form_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/form_helpers.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/FormHelpers","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers"},"class_methods":[{"html_id":"include_csrf_tag:Bool-class-method","name":"include_csrf_tag","abstract":false,"def":{"name":"include_csrf_tag","return_type":"Bool","visibility":"Public","body":"@@include_csrf_tag.not_nil!"}},{"html_id":"include_csrf_tag=(value:Bool)-class-method","name":"include_csrf_tag=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Bool"}],"args_string":"(value : Bool)","args_html":"(value : Bool)","def":{"name":"include_csrf_tag=","args":[{"name":"value","external_name":"value","restriction":"Bool"}],"visibility":"Public","body":"@@include_csrf_tag = value"}},{"html_id":"include_csrf_tag?-class-method","name":"include_csrf_tag?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use include_csrf_tag in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use include_csrf_tag in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"include_csrf_tag?","visibility":"Public","body":"@@include_csrf_tag"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"include_csrf_tag\" => include_csrf_tag}"}}]}]},{"html_id":"lucky/Lucky/HTMLBuilder","path":"Lucky/HTMLBuilder.html","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder","abstract":false,"ancestors":[{"html_id":"lucky/Lucky/SvgInliner","kind":"module","full_name":"Lucky::SvgInliner","name":"SvgInliner"},{"html_id":"lucky/Lucky/LiveReloadTag","kind":"module","full_name":"Lucky::LiveReloadTag","name":"LiveReloadTag"},{"html_id":"lucky/Lucky/TagDefaults","kind":"module","full_name":"Lucky::TagDefaults","name":"TagDefaults"},{"html_id":"lucky/Lucky/RenderIfDefined","kind":"module","full_name":"Lucky::RenderIfDefined","name":"RenderIfDefined"},{"html_id":"lucky/Lucky/HelpfulParagraphError","kind":"module","full_name":"Lucky::HelpfulParagraphError","name":"HelpfulParagraphError"},{"html_id":"lucky/Lucky/MountComponent","kind":"module","full_name":"Lucky::MountComponent","name":"MountComponent"},{"html_id":"lucky/Lucky/ForgeryProtectionHelpers","kind":"module","full_name":"Lucky::ForgeryProtectionHelpers","name":"ForgeryProtectionHelpers"},{"html_id":"lucky/Lucky/TimeHelpers","kind":"module","full_name":"Lucky::TimeHelpers","name":"TimeHelpers"},{"html_id":"lucky/Lucky/UrlHelpers","kind":"module","full_name":"Lucky::UrlHelpers","name":"UrlHelpers"},{"html_id":"lucky/Lucky/HTMLTextHelpers","kind":"module","full_name":"Lucky::HTMLTextHelpers","name":"HTMLTextHelpers"},{"html_id":"lucky/Lucky/TextHelpers","kind":"module","full_name":"Lucky::TextHelpers","name":"TextHelpers"},{"html_id":"lucky/Lucky/NumberToCurrency","kind":"module","full_name":"Lucky::NumberToCurrency","name":"NumberToCurrency"},{"html_id":"lucky/Lucky/AssetHelpers","kind":"module","full_name":"Lucky::AssetHelpers","name":"AssetHelpers"},{"html_id":"lucky/Lucky/Assignable","kind":"module","full_name":"Lucky::Assignable","name":"Assignable"},{"html_id":"lucky/Lucky/SpecialtyTags","kind":"module","full_name":"Lucky::SpecialtyTags","name":"SpecialtyTags"},{"html_id":"lucky/Lucky/FormHelpers","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers"},{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/LinkHelpers","kind":"module","full_name":"Lucky::LinkHelpers","name":"LinkHelpers"},{"html_id":"lucky/Lucky/CustomTags","kind":"module","full_name":"Lucky::CustomTags","name":"CustomTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Lucky/BaseTags","kind":"module","full_name":"Lucky::BaseTags","name":"BaseTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"}],"locations":[{"filename":"src/lucky/html_builder.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_builder.cr#L5"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ASSIGNS","name":"ASSIGNS","value":"[] of Nil"}],"included_modules":[{"html_id":"lucky/Lucky/AssetHelpers","kind":"module","full_name":"Lucky::AssetHelpers","name":"AssetHelpers"},{"html_id":"lucky/Lucky/Assignable","kind":"module","full_name":"Lucky::Assignable","name":"Assignable"},{"html_id":"lucky/Lucky/BaseTags","kind":"module","full_name":"Lucky::BaseTags","name":"BaseTags"},{"html_id":"lucky/Lucky/CustomTags","kind":"module","full_name":"Lucky::CustomTags","name":"CustomTags"},{"html_id":"lucky/Lucky/ForgeryProtectionHelpers","kind":"module","full_name":"Lucky::ForgeryProtectionHelpers","name":"ForgeryProtectionHelpers"},{"html_id":"lucky/Lucky/FormHelpers","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers"},{"html_id":"lucky/Lucky/HelpfulParagraphError","kind":"module","full_name":"Lucky::HelpfulParagraphError","name":"HelpfulParagraphError"},{"html_id":"lucky/Lucky/HTMLTextHelpers","kind":"module","full_name":"Lucky::HTMLTextHelpers","name":"HTMLTextHelpers"},{"html_id":"lucky/Lucky/LinkHelpers","kind":"module","full_name":"Lucky::LinkHelpers","name":"LinkHelpers"},{"html_id":"lucky/Lucky/LiveReloadTag","kind":"module","full_name":"Lucky::LiveReloadTag","name":"LiveReloadTag"},{"html_id":"lucky/Lucky/MountComponent","kind":"module","full_name":"Lucky::MountComponent","name":"MountComponent"},{"html_id":"lucky/Lucky/NumberToCurrency","kind":"module","full_name":"Lucky::NumberToCurrency","name":"NumberToCurrency"},{"html_id":"lucky/Lucky/RenderIfDefined","kind":"module","full_name":"Lucky::RenderIfDefined","name":"RenderIfDefined"},{"html_id":"lucky/Lucky/SpecialtyTags","kind":"module","full_name":"Lucky::SpecialtyTags","name":"SpecialtyTags"},{"html_id":"lucky/Lucky/SvgInliner","kind":"module","full_name":"Lucky::SvgInliner","name":"SvgInliner"},{"html_id":"lucky/Lucky/TagDefaults","kind":"module","full_name":"Lucky::TagDefaults","name":"TagDefaults"},{"html_id":"lucky/Lucky/TextHelpers","kind":"module","full_name":"Lucky::TextHelpers","name":"TextHelpers"},{"html_id":"lucky/Lucky/TimeHelpers","kind":"module","full_name":"Lucky::TimeHelpers","name":"TimeHelpers"},{"html_id":"lucky/Lucky/UrlHelpers","kind":"module","full_name":"Lucky::UrlHelpers","name":"UrlHelpers"}],"including_types":[{"html_id":"lucky/Lucky/BaseComponent","kind":"class","full_name":"Lucky::BaseComponent","name":"BaseComponent"},{"html_id":"lucky/Lucky/HTMLPage","kind":"module","full_name":"Lucky::HTMLPage","name":"HTMLPage"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(**unused_exposures)-class-method","name":"new","abstract":false,"def":{"name":"new","double_splat":{"name":"unused_exposures","external_name":"unused_exposures","restriction":""},"visibility":"Public","body":"_ = allocate\n_.initialize(**unused_exposures)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"perform_render:IO-instance-method","name":"perform_render","abstract":false,"location":{"filename":"src/lucky/html_builder.cr","line_number":28,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_builder.cr#L28"},"def":{"name":"perform_render","return_type":"IO","visibility":"Public","body":"render\nview\n"}},{"html_id":"view:IO-instance-method","name":"view","abstract":true,"location":{"filename":"src/lucky/html_builder.cr","line_number":26,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_builder.cr#L26"},"def":{"name":"view","return_type":"IO","visibility":"Public","body":""}}]},{"html_id":"lucky/Lucky/HTMLPage","path":"Lucky/HTMLPage.html","kind":"module","full_name":"Lucky::HTMLPage","name":"HTMLPage","abstract":false,"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"},{"html_id":"lucky/Lucky/SvgInliner","kind":"module","full_name":"Lucky::SvgInliner","name":"SvgInliner"},{"html_id":"lucky/Lucky/LiveReloadTag","kind":"module","full_name":"Lucky::LiveReloadTag","name":"LiveReloadTag"},{"html_id":"lucky/Lucky/TagDefaults","kind":"module","full_name":"Lucky::TagDefaults","name":"TagDefaults"},{"html_id":"lucky/Lucky/RenderIfDefined","kind":"module","full_name":"Lucky::RenderIfDefined","name":"RenderIfDefined"},{"html_id":"lucky/Lucky/HelpfulParagraphError","kind":"module","full_name":"Lucky::HelpfulParagraphError","name":"HelpfulParagraphError"},{"html_id":"lucky/Lucky/MountComponent","kind":"module","full_name":"Lucky::MountComponent","name":"MountComponent"},{"html_id":"lucky/Lucky/ForgeryProtectionHelpers","kind":"module","full_name":"Lucky::ForgeryProtectionHelpers","name":"ForgeryProtectionHelpers"},{"html_id":"lucky/Lucky/TimeHelpers","kind":"module","full_name":"Lucky::TimeHelpers","name":"TimeHelpers"},{"html_id":"lucky/Lucky/UrlHelpers","kind":"module","full_name":"Lucky::UrlHelpers","name":"UrlHelpers"},{"html_id":"lucky/Lucky/HTMLTextHelpers","kind":"module","full_name":"Lucky::HTMLTextHelpers","name":"HTMLTextHelpers"},{"html_id":"lucky/Lucky/TextHelpers","kind":"module","full_name":"Lucky::TextHelpers","name":"TextHelpers"},{"html_id":"lucky/Lucky/NumberToCurrency","kind":"module","full_name":"Lucky::NumberToCurrency","name":"NumberToCurrency"},{"html_id":"lucky/Lucky/AssetHelpers","kind":"module","full_name":"Lucky::AssetHelpers","name":"AssetHelpers"},{"html_id":"lucky/Lucky/Assignable","kind":"module","full_name":"Lucky::Assignable","name":"Assignable"},{"html_id":"lucky/Lucky/SpecialtyTags","kind":"module","full_name":"Lucky::SpecialtyTags","name":"SpecialtyTags"},{"html_id":"lucky/Lucky/FormHelpers","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers"},{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/LinkHelpers","kind":"module","full_name":"Lucky::LinkHelpers","name":"LinkHelpers"},{"html_id":"lucky/Lucky/CustomTags","kind":"module","full_name":"Lucky::CustomTags","name":"CustomTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Lucky/BaseTags","kind":"module","full_name":"Lucky::BaseTags","name":"BaseTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"}],"locations":[{"filename":"src/lucky/html_page.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_page.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ASSIGNS","name":"ASSIGNS","value":"[context : HTTP::Server::Context] of Nil"},{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: render_component_comments : Bool = false, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"including_types":[{"html_id":"lucky/Lucky/WelcomePage","kind":"class","full_name":"Lucky::WelcomePage","name":"WelcomePage"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/html_page.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_page.cr#L6"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/html_page.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_page.cr#L6"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"constructors":[{"html_id":"new(context:HTTP::Server::Context,**unused_exposures)-class-method","name":"new","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"args_string":"(context : HTTP::Server::Context, **unused_exposures)","args_html":"(context : HTTP::Server::Context, **unused_exposures)","def":{"name":"new","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"double_splat":{"name":"unused_exposures","external_name":"unused_exposures","restriction":""},"visibility":"Public","body":"_ = allocate\n_.initialize(context, **unused_exposures)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"context-instance-method","name":"context","abstract":false,"def":{"name":"context","visibility":"Public","body":"@context"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/html_page.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_page.cr#L6"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}},{"html_id":"to_s(io)-instance-method","name":"to_s","abstract":false,"args":[{"name":"io","external_name":"io","restriction":""}],"args_string":"(io)","args_html":"(io)","location":{"filename":"src/lucky/html_page.cr","line_number":13,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_page.cr#L13"},"def":{"name":"to_s","args":[{"name":"io","external_name":"io","restriction":""}],"visibility":"Public","body":"io << view"}},{"html_id":"view:IO-instance-method","name":"view","abstract":false,"location":{"filename":"src/lucky/html_page.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_page.cr#L10"},"def":{"name":"view","return_type":"IO","visibility":"Public","body":"@view"}}],"types":[{"html_id":"lucky/Lucky/HTMLPage/HabitatSettings","path":"Lucky/HTMLPage/HabitatSettings.html","kind":"class","full_name":"Lucky::HTMLPage::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/html_page.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/html_page.cr#L6"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/HTMLPage","kind":"module","full_name":"Lucky::HTMLPage","name":"HTMLPage"},"class_methods":[{"html_id":"render_component_comments:Bool-class-method","name":"render_component_comments","abstract":false,"def":{"name":"render_component_comments","return_type":"Bool","visibility":"Public","body":"@@render_component_comments.not_nil!"}},{"html_id":"render_component_comments=(value:Bool)-class-method","name":"render_component_comments=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Bool"}],"args_string":"(value : Bool)","args_html":"(value : Bool)","def":{"name":"render_component_comments=","args":[{"name":"value","external_name":"value","restriction":"Bool"}],"visibility":"Public","body":"@@render_component_comments = value"}},{"html_id":"render_component_comments?-class-method","name":"render_component_comments?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use render_component_comments in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use render_component_comments in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"render_component_comments?","visibility":"Public","body":"@@render_component_comments"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"render_component_comments\" => render_component_comments}"}}]}]},{"html_id":"lucky/Lucky/HTMLTextHelpers","path":"Lucky/HTMLTextHelpers.html","kind":"module","full_name":"Lucky::HTMLTextHelpers","name":"HTMLTextHelpers","abstract":false,"locations":[{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"These helper methods will write directly to the view.","summary":"

    These helper methods will write directly to the view.

    ","instance_methods":[{"html_id":"highlight(text:String,phrases:Array(String|Regex),highlighter:Proc|String=\"\\\\1\",escape:Bool=true):Nil-instance-method","name":"highlight","doc":"Wrap phrases to make them stand out\n\nThis will wrap all the phrases inside a piece of `text` specified by the\n`phrases` array. The default is to wrap each with the `` element.\nThis can be customized with the `highlighter` argument.\n\n**Note: This method writes HTML directly to the page. It does not return a\nString**\n\n```\nhighlight(\"Crystal is type-safe and compiled.\", phrases: [\"type-safe\", \"compiled\"])\n```\noutputs:\n```html\nCrystal is type-safe and compiled.\n```\n\n**With a custom highlighter**\n\n```\nhighlight(\n \"You're such a nice and attractive person.\",\n phrases: [\"nice\", \"attractive\"],\n highlighter: \"\\\\1\"\n)\n```\noutputs:\n```html\nYou're such a nice and attractive person.\n```","summary":"

    Wrap phrases to make them stand out

    ","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"phrases","external_name":"phrases","restriction":"Array(String | Regex)"},{"name":"highlighter","default_value":"\"\\\\1\"","external_name":"highlighter","restriction":"Proc | String"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"args_string":"(text : String, phrases : Array(String | Regex), highlighter : Proc | String = \"\\\\1\", escape : Bool = true) : Nil","args_html":"(text : String, phrases : Array(String | Regex), highlighter : Proc | String = "<mark>\\\\1</mark>", escape : Bool = true) : Nil","location":{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":73,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L73"},"def":{"name":"highlight","args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"phrases","external_name":"phrases","restriction":"Array(String | Regex)"},{"name":"highlighter","default_value":"\"\\\\1\"","external_name":"highlighter","restriction":"Proc | String"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"return_type":"Nil","visibility":"Public","body":"text = escape ? HTML.escape(text) : text\nif text.blank? || phrases.all?() do |__arg0|\n __arg0.to_s.blank?\nend\n raw(text || \"\")\nelse\n match = phrases.map do |p|\n p.is_a?(Regex) ? p.to_s : Regex.escape(p.to_s)\n end.join(\"|\")\n if highlighter.is_a?(Proc)\n raw(text.gsub(/(#{match})(?![^<]*?>)/i, &highlighter))\n else\n raw(text.gsub(/(#{match})(?![^<]*?>)/i, highlighter))\n end\nend\n"}},{"html_id":"highlight(text:String,phrases:Array(String|Regex),escape:Bool=false,&block:String->_):Nil-instance-method","name":"highlight","doc":"Highlight a single phrase\n\nExactly the same as the `highlight` that takes multiple phrases, but with a\nsingular `phrase` argument for readability.\n```","summary":"

    Highlight a single phrase

    ","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"phrases","external_name":"phrases","restriction":"Array(String | Regex)"},{"name":"escape","default_value":"false","external_name":"escape","restriction":"Bool"}],"args_string":"(text : String, phrases : Array(String | Regex), escape : Bool = false, &block : String -> _) : Nil","args_html":"(text : String, phrases : Array(String | Regex), escape : Bool = false, &block : String -> _) : Nil","location":{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":96,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L96"},"def":{"name":"highlight","args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"phrases","external_name":"phrases","restriction":"Array(String | Regex)"},{"name":"escape","default_value":"false","external_name":"escape","restriction":"Bool"}],"yields":1,"block_arity":1,"block_arg":{"name":"block","external_name":"block","restriction":"(String -> _)"},"return_type":"Nil","visibility":"Public","body":"highlight(text, phrases, highlighter: block, escape: escape)"}},{"html_id":"highlight(text:String,phrase:String|Regex,highlighter:Proc|String=\"\\\\1\",escape:Bool=true):Nil-instance-method","name":"highlight","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"phrase","external_name":"phrase","restriction":"String | Regex"},{"name":"highlighter","default_value":"\"\\\\1\"","external_name":"highlighter","restriction":"Proc | String"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"args_string":"(text : String, phrase : String | Regex, highlighter : Proc | String = \"\\\\1\", escape : Bool = true) : Nil","args_html":"(text : String, phrase : String | Regex, highlighter : Proc | String = "<mark>\\\\1</mark>", escape : Bool = true) : Nil","location":{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":100,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L100"},"def":{"name":"highlight","args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"phrase","external_name":"phrase","restriction":"String | Regex"},{"name":"highlighter","default_value":"\"\\\\1\"","external_name":"highlighter","restriction":"Proc | String"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"return_type":"Nil","visibility":"Public","body":"phrases = [phrase] of String | Regex\nhighlight(text, phrases, highlighter: highlighter, escape: escape)\n"}},{"html_id":"highlight(text:String,phrase:String|Regex,escape:Bool=true,&block:String->_):Nil-instance-method","name":"highlight","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"phrase","external_name":"phrase","restriction":"String | Regex"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"args_string":"(text : String, phrase : String | Regex, escape : Bool = true, &block : String -> _) : Nil","args_html":"(text : String, phrase : String | Regex, escape : Bool = true, &block : String -> _) : Nil","location":{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":105,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L105"},"def":{"name":"highlight","args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"phrase","external_name":"phrase","restriction":"String | Regex"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"yields":1,"block_arity":1,"block_arg":{"name":"block","external_name":"block","restriction":"(String -> _)"},"return_type":"Nil","visibility":"Public","body":"phrases = [phrase] of String | Regex\nhighlight(text, phrases, highlighter: block, escape: escape)\n"}},{"html_id":"simple_format(text:String,&:String->_):Nil-instance-method","name":"simple_format","doc":"Wraps text in whatever you'd like based on line breaks\n\n**Note: This method writes HTML directly to the page. It does not return a\nString**\n\n```\nsimple_format(\"foo\\n\\nbar\\n\\nbaz\") do |paragraph|\n text paragraph\n hr\nend\n```\noutputs:\n```html\nfoo
    \n\nbar
    \n\nbaz
    \n```","summary":"

    Wraps text in whatever you'd like based on line breaks

    ","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"}],"args_string":"(text : String, & : String -> _) : Nil","args_html":"(text : String, & : String -> _) : Nil","location":{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":129,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L129"},"def":{"name":"simple_format","args":[{"name":"text","external_name":"text","restriction":"String"}],"yields":1,"block_arity":1,"block_arg":{"name":"","external_name":"","restriction":"(String -> _)"},"return_type":"Nil","visibility":"Public","body":"paragraphs = split_paragraphs(text)\nif paragraphs.empty?\n paragraphs = [\"\"]\nend\nparagraphs.each do |paragraph|\n yield paragraph\n if paragraph == paragraphs.last\n else\n raw(\"\\n\\n\")\n end\nend\nview\n"}},{"html_id":"simple_format(text:String,escape:Bool=true,**html_options):Nil-instance-method","name":"simple_format","doc":"Wraps text in paragraphs based on line breaks\n\n```\nsimple_format(\"foo\\n\\nbar\\n\\nbaz\")\n```\noutputs:\n```html\n

    foo

    \n\n

    bar

    \n\n

    baz

    \n```","summary":"

    Wraps text in paragraphs based on line breaks

    ","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"args_string":"(text : String, escape : Bool = true, **html_options) : Nil","args_html":"(text : String, escape : Bool = true, **html_options) : Nil","location":{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":154,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L154"},"def":{"name":"simple_format","args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"text = escape ? HTML.escape(text) : text\nsimple_format(text) do |formatted_text|\n para(html_options) do\n raw(formatted_text)\n end\nend\n"}},{"html_id":"truncate(text:String,length:Int32=30,omission:String=\"...\",separator:String|Nil=nil,escape:Bool=true,blk:Nil|Proc=nil):Nil-instance-method","name":"truncate","doc":"Shortens text after a length point and inserts content afterward\n\n**Note: This method writes HTML directly to the page. It does not return a\nString.**\n\nThis is ideal if you want an action associated with shortened text, like\n\"Read more\".\n\n* `length` (default: `30`) will control the maximum length of the text,\nincluding the `omission`.\n* `omission` (default: `...`) will insert itself at the end of the\ntruncated text.\n* `separator` (default: nil) is where words are cut off. This is often\noverridden to break on word boundaries by setting the separator to a space\n`\" \"`. Keep in mind this, may cause your text to be truncated before your\n`length` value if the `length` - `omission` is before the `separator`.\n* `escape` (default: true) weather or not to HTML escape the truncated\nstring.\n* `blk` (default: nil) A block to run after the text has been truncated.\nOften used to add an action to read more text, like a \"Read more\" link.\n\n```\ntruncate(\"Four score and seven years ago\", length: 20) do\n link \"Read more\", to: \"#\"\nend\n```\noutputs:\n```html\n\"Four score and se...Read more\"\n```","summary":"

    Shortens text after a length point and inserts content afterward

    ","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"length","default_value":"30","external_name":"length","restriction":"Int32"},{"name":"omission","default_value":"\"...\"","external_name":"omission","restriction":"String"},{"name":"separator","default_value":"nil","external_name":"separator","restriction":"String | Nil"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"},{"name":"blk","default_value":"nil","external_name":"blk","restriction":"Nil | Proc"}],"args_string":"(text : String, length : Int32 = 30, omission : String = \"...\", separator : String | Nil = nil, escape : Bool = true, blk : Nil | Proc = nil) : Nil","args_html":"(text : String, length : Int32 = 30, omission : String = "...", separator : String | Nil = nil, escape : Bool = true, blk : Nil | Proc = nil) : Nil","location":{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":33,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L33"},"def":{"name":"truncate","args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"length","default_value":"30","external_name":"length","restriction":"Int32"},{"name":"omission","default_value":"\"...\"","external_name":"omission","restriction":"String"},{"name":"separator","default_value":"nil","external_name":"separator","restriction":"String | Nil"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"},{"name":"blk","default_value":"nil","external_name":"blk","restriction":"Nil | Proc"}],"return_type":"Nil","visibility":"Public","body":"content = truncate_text(text, length, omission, separator)\nraw(escape ? HTML.escape(content) : content)\nif (!blk.nil?) && text.size > length\n blk.call\nend\n"}},{"html_id":"truncate(text:String,length:Int32=30,omission:String=\"...\",separator:String|Nil=nil,escape:Bool=true,&block:->_):Nil-instance-method","name":"truncate","abstract":false,"args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"length","default_value":"30","external_name":"length","restriction":"Int32"},{"name":"omission","default_value":"\"...\"","external_name":"omission","restriction":"String"},{"name":"separator","default_value":"nil","external_name":"separator","restriction":"String | Nil"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"args_string":"(text : String, length : Int32 = 30, omission : String = \"...\", separator : String | Nil = nil, escape : Bool = true, &block : -> _) : Nil","args_html":"(text : String, length : Int32 = 30, omission : String = "...", separator : String | Nil = nil, escape : Bool = true, &block : -> _) : Nil","location":{"filename":"src/lucky/page_helpers/html_text_helpers.cr","line_number":39,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/html_text_helpers.cr#L39"},"def":{"name":"truncate","args":[{"name":"text","external_name":"text","restriction":"String"},{"name":"length","default_value":"30","external_name":"length","restriction":"Int32"},{"name":"omission","default_value":"\"...\"","external_name":"omission","restriction":"String"},{"name":"separator","default_value":"nil","external_name":"separator","restriction":"String | Nil"},{"name":"escape","default_value":"true","external_name":"escape","restriction":"Bool"}],"yields":0,"block_arity":0,"block_arg":{"name":"block","external_name":"block","restriction":"(-> _)"},"return_type":"Nil","visibility":"Public","body":"truncate(text, length, omission, separator, escape, blk: block)"}}]},{"html_id":"lucky/Lucky/HttpMethodOverrideHandler","path":"Lucky/HttpMethodOverrideHandler.html","kind":"class","full_name":"Lucky::HttpMethodOverrideHandler","name":"HttpMethodOverrideHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/http_method_override_handler.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/http_method_override_handler.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"call(context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":""}],"args_string":"(context)","args_html":"(context)","location":{"filename":"src/lucky/http_method_override_handler.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/http_method_override_handler.cr#L4"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":""}],"visibility":"Public","body":"http_method = overridden_http_method(context)\nif (override_allowed?(context, http_method)) && http_method\n context.request.method = http_method\nend\ncall_next(context)\n"}}]},{"html_id":"lucky/Lucky/InvalidCookieValueError","path":"Lucky/InvalidCookieValueError.html","kind":"class","full_name":"Lucky::InvalidCookieValueError","name":"InvalidCookieValueError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":126,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L126"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Crystal raises `Invalid cookie value (IO::Error)` by default.\nThis provides a nicer error","summary":"

    Crystal raises Invalid cookie value (IO::Error) by default.

    ","constructors":[{"html_id":"new(key:String|Symbol)-class-method","name":"new","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol)","args_html":"(key : String | Symbol)","location":{"filename":"src/lucky/errors.cr","line_number":129,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L129"},"def":{"name":"new","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"visibility":"Public","body":"_ = allocate\n_.initialize(key)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"key:String|Symbol-instance-method","name":"key","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":127,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L127"},"def":{"name":"key","visibility":"Public","body":"@key"}},{"html_id":"message:String-instance-method","name":"message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":132,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L132"},"def":{"name":"message","return_type":"String","visibility":"Public","body":"\"Cookie value for '#{key}' is invalid.\\n\\nBe sure the value does not contain any blank characters,\\ncomma, double quote, semicolon, or double backslash.\\n\\nSee https://tools.ietf.org/html/rfc6265#section-4.1.1 for valid\\ncharacters\""}}]},{"html_id":"lucky/Lucky/InvalidFlashJSONError","path":"Lucky/InvalidFlashJSONError.html","kind":"class","full_name":"Lucky::InvalidFlashJSONError","name":"InvalidFlashJSONError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":225,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L225"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(bad_json:String|Nil)-class-method","name":"new","abstract":false,"args":[{"name":"bad_json","external_name":"bad_json","restriction":"String | ::Nil"}],"args_string":"(bad_json : String | Nil)","args_html":"(bad_json : String | Nil)","location":{"filename":"src/lucky/errors.cr","line_number":228,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L228"},"def":{"name":"new","args":[{"name":"bad_json","external_name":"bad_json","restriction":"String | ::Nil"}],"visibility":"Public","body":"_ = allocate\n_.initialize(bad_json)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"bad_json:String?-instance-method","name":"bad_json","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":226,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L226"},"def":{"name":"bad_json","visibility":"Public","body":"@bad_json"}},{"html_id":"message:String|Nil-instance-method","name":"message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":231,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L231"},"def":{"name":"message","return_type":"String | ::Nil","visibility":"Public","body":"\"The flash messages (stored as JSON) failed to parse in a JSON parser.\\nHere's what it tries to parse:\\n\\n#{bad_json}\""}}]},{"html_id":"lucky/Lucky/InvalidMessageError","path":"Lucky/InvalidMessageError.html","kind":"class","full_name":"Lucky::InvalidMessageError","name":"InvalidMessageError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":148,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L148"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"}},{"html_id":"lucky/Lucky/InvalidParamError","path":"Lucky/InvalidParamError.html","kind":"class","full_name":"Lucky::InvalidParamError","name":"InvalidParamError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"},{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":151,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L151"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(param_name:String,param_value:String,param_type:String)-class-method","name":"new","abstract":false,"args":[{"name":"param_name","external_name":"param_name","restriction":"String"},{"name":"param_value","external_name":"param_value","restriction":"String"},{"name":"param_type","external_name":"param_type","restriction":"String"}],"args_string":"(param_name : String, param_value : String, param_type : String)","args_html":"(param_name : String, param_value : String, param_type : String)","location":{"filename":"src/lucky/errors.cr","line_number":156,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L156"},"def":{"name":"new","args":[{"name":"param_name","external_name":"param_name","restriction":"String"},{"name":"param_value","external_name":"param_value","restriction":"String"},{"name":"param_type","external_name":"param_type","restriction":"String"}],"visibility":"Public","body":"_ = allocate\n_.initialize(param_name, param_value, param_type)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"message:String|Nil-instance-method","name":"message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":159,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L159"},"def":{"name":"message","return_type":"String | ::Nil","visibility":"Public","body":"\"Required param '#{param_name}' with value '#{param_value}' couldn't be parsed to a '#{param_type}'\""}},{"html_id":"param_name:String-instance-method","name":"param_name","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":154,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L154"},"def":{"name":"param_name","visibility":"Public","body":"@param_name"}},{"html_id":"param_type:String-instance-method","name":"param_type","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":154,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L154"},"def":{"name":"param_type","visibility":"Public","body":"@param_type"}},{"html_id":"param_value:String-instance-method","name":"param_value","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":154,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L154"},"def":{"name":"param_value","visibility":"Public","body":"@param_value"}},{"html_id":"renderable_message:String-instance-method","name":"renderable_message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":167,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L167"},"def":{"name":"renderable_message","return_type":"String","visibility":"Public","body":"message"}},{"html_id":"renderable_status:Int32-instance-method","name":"renderable_status","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":163,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L163"},"def":{"name":"renderable_status","return_type":"Int32","visibility":"Public","body":"HTTP::Status::UNPROCESSABLE_ENTITY.value"}}]},{"html_id":"lucky/Lucky/InvalidSignatureError","path":"Lucky/InvalidSignatureError.html","kind":"class","full_name":"Lucky::InvalidSignatureError","name":"InvalidSignatureError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":145,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L145"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"}},{"html_id":"lucky/Lucky/InvalidSubdomainError","path":"Lucky/InvalidSubdomainError.html","kind":"class","full_name":"Lucky::InvalidSubdomainError","name":"InvalidSubdomainError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":241,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L241"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(host:String|Nil,expected:Lucky::Subdomain::Matcher)-class-method","name":"new","abstract":false,"args":[{"name":"host","external_name":"host","restriction":"String | ::Nil"},{"name":"expected","external_name":"expected","restriction":"Lucky::Subdomain::Matcher"}],"args_string":"(host : String | Nil, expected : Lucky::Subdomain::Matcher)","args_html":"(host : String | Nil, expected : Lucky::Subdomain::Matcher)","location":{"filename":"src/lucky/errors.cr","line_number":242,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L242"},"def":{"name":"new","args":[{"name":"host","external_name":"host","restriction":"String | ::Nil"},{"name":"expected","external_name":"expected","restriction":"Lucky::Subdomain::Matcher"}],"visibility":"Public","body":"_ = allocate\n_.initialize(host, expected)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"message:String-instance-method","name":"message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":245,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L245"},"def":{"name":"message","return_type":"String","visibility":"Public","body":"if @host.nil?\n \"Expected to find a subdomain but did not find a hostname on the request.\"\nelse\n if @expected == true\n \"Expected request to have a subdomain but did not find one.\"\n else\n \" Expected subdomain matcher(s): #{@expected.pretty_inspect}\\n Did not match host: #{@host}\"\n end\nend"}}]},{"html_id":"lucky/Lucky/LinkHelpers","path":"Lucky/LinkHelpers.html","kind":"module","full_name":"Lucky::LinkHelpers","name":"LinkHelpers","abstract":false,"locations":[{"filename":"src/lucky/tags/link_helpers.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"link(text,to:Lucky::RouteHelper,attrs:Array(Symbol)=[]ofSymbol,**html_options):Nil-instance-method","name":"link","abstract":false,"args":[{"name":"text","external_name":"text","restriction":""},{"name":"to","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(text, to : Lucky::RouteHelper, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","args_html":"(text, to : Lucky::RouteHelper, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L2"},"def":{"name":"link","args":[{"name":"text","external_name":"text","restriction":""},{"name":"to","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"link(**html_options, to: to, attrs: attrs) do\n text(text)\nend"}},{"html_id":"link(to:Lucky::RouteHelper,attrs:Array(Symbol)=[]ofSymbol,**html_options):Nil-instance-method","name":"link","abstract":false,"args":[{"name":"to","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(to : Lucky::RouteHelper, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","args_html":"(to : Lucky::RouteHelper, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L8"},"def":{"name":"link","args":[{"name":"to","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"link(**html_options, to: to, attrs: attrs) do\nend"}},{"html_id":"link(to:Lucky::RouteHelper,href:String,**html_options,&):Nil-instance-method","name":"link","abstract":false,"args":[{"name":"to","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"href","external_name":"href","restriction":"String"}],"args_string":"(to : Lucky::RouteHelper, href : String, **html_options, &) : Nil","args_html":"(to : Lucky::RouteHelper, href : String, **html_options, &) : Nil","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":12,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L12"},"def":{"name":"link","args":[{"name":"to","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"href","external_name":"href","restriction":"String"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"{% raise(\"'link' cannot be called with an href.\\n\\nUse 'a()' or remove the href argument.\\n\\nExample:\\n\\n a href: \\\"/\\\" do\\n end\\n\\n link to: Home::Index do\\n end\\n\") %}"}},{"html_id":"link(to:Lucky::RouteHelper,attrs:Array(Symbol)=[]ofSymbol,**html_options,&):Nil-instance-method","name":"link","abstract":false,"args":[{"name":"to","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(to : Lucky::RouteHelper, attrs : Array(Symbol) = [] of Symbol, **html_options, &) : Nil","args_html":"(to : Lucky::RouteHelper, attrs : Array(Symbol) = [] of Symbol, **html_options, &) : Nil","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":31,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L31"},"def":{"name":"link","args":[{"name":"to","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"a(attrs, merge_options(html_options, link_to_href(to))) do\n yield\nend"}},{"html_id":"link(text,to:Lucky::Action.class,attrs:Array(Symbol)=[]ofSymbol,**html_options):Nil-instance-method","name":"link","abstract":false,"args":[{"name":"text","external_name":"text","restriction":""},{"name":"to","external_name":"to","restriction":"Lucky::Action.class"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(text, to : Lucky::Action.class, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","args_html":"(text, to : Lucky::Action.class, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":37,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L37"},"def":{"name":"link","args":[{"name":"text","external_name":"text","restriction":""},{"name":"to","external_name":"to","restriction":"Lucky::Action.class"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"link(**html_options, to: to, attrs: attrs) do\n text(text)\nend"}},{"html_id":"link(to:Lucky::Action.class,attrs:Array(Symbol)=[]ofSymbol,**html_options):Nil-instance-method","name":"link","abstract":false,"args":[{"name":"to","external_name":"to","restriction":"Lucky::Action.class"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(to : Lucky::Action.class, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","args_html":"(to : Lucky::Action.class, attrs : Array(Symbol) = [] of Symbol, **html_options) : Nil","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":43,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L43"},"def":{"name":"link","args":[{"name":"to","external_name":"to","restriction":"Lucky::Action.class"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"return_type":"Nil","visibility":"Public","body":"link(**html_options, to: to, attrs: attrs) do\nend"}},{"html_id":"link(to:Lucky::Action.class,attrs:Array(Symbol)=[]ofSymbol,**html_options,&):Nil-instance-method","name":"link","abstract":false,"args":[{"name":"to","external_name":"to","restriction":"Lucky::Action.class"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(to : Lucky::Action.class, attrs : Array(Symbol) = [] of Symbol, **html_options, &) : Nil","args_html":"(to : Lucky::Action.class, attrs : Array(Symbol) = [] of Symbol, **html_options, &) : Nil","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":47,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L47"},"def":{"name":"link","args":[{"name":"to","external_name":"to","restriction":"Lucky::Action.class"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"yields":0,"block_arity":0,"return_type":"Nil","visibility":"Public","body":"link(**html_options, to: to.route, attrs: attrs) do\n yield\nend"}},{"html_id":"link(text,to:String,attrs:Array(Symbol)=[]ofSymbol,**html_options)-instance-method","name":"link","abstract":false,"args":[{"name":"text","external_name":"text","restriction":""},{"name":"to","external_name":"to","restriction":"String"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(text, to : String, attrs : Array(Symbol) = [] of Symbol, **html_options)","args_html":"(text, to : String, attrs : Array(Symbol) = [] of Symbol, **html_options)","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":61,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L61"},"def":{"name":"link","args":[{"name":"text","external_name":"text","restriction":""},{"name":"to","external_name":"to","restriction":"String"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"visibility":"Public","body":"{% raise(\"'link' no longer supports passing a String to 'to'.\\n\\nUse 'a()' or pass an Action class instead.\\n\\nExample:\\n\\n a \\\"Home\\\", href: \\\"/\\\"\\n link \\\"Home\\\", to: Home::Index\\n\") %}"}},{"html_id":"link(to:String,attrs:Array(Symbol)=[]ofSymbol,**html_options,&)-instance-method","name":"link","abstract":false,"args":[{"name":"to","external_name":"to","restriction":"String"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"args_string":"(to : String, attrs : Array(Symbol) = [] of Symbol, **html_options, &)","args_html":"(to : String, attrs : Array(Symbol) = [] of Symbol, **html_options, &)","location":{"filename":"src/lucky/tags/link_helpers.cr","line_number":77,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/link_helpers.cr#L77"},"def":{"name":"link","args":[{"name":"to","external_name":"to","restriction":"String"},{"name":"attrs","default_value":"[] of Symbol","external_name":"attrs","restriction":"Array(Symbol)"}],"double_splat":{"name":"html_options","external_name":"html_options","restriction":""},"yields":0,"block_arity":0,"visibility":"Public","body":"{% raise(\"'link' no longer supports passing a String to 'to'.\\n\\nUse 'a()' or pass an Action class instead.\\n\\nExample:\\n\\n a href: \\\"/\\\" do\\n end\\n\\n link to: Home::Index do\\n end\\n\") %}\nyield\n"}}]},{"html_id":"lucky/Lucky/LiveReloadTag","path":"Lucky/LiveReloadTag.html","kind":"module","full_name":"Lucky::LiveReloadTag","name":"LiveReloadTag","abstract":false,"locations":[{"filename":"src/lucky/tags/live_reload_tag.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/live_reload_tag.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"live_reload_connect_tag(ms:Int32=1000):Nil-instance-method","name":"live_reload_connect_tag","abstract":false,"args":[{"name":"ms","default_value":"1000","external_name":"ms","restriction":"Int32"}],"args_string":"(ms : Int32 = 1000) : Nil","args_html":"(ms : Int32 = 1000) : Nil","location":{"filename":"src/lucky/tags/live_reload_tag.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/live_reload_tag.cr#L2"},"def":{"name":"live_reload_connect_tag","args":[{"name":"ms","default_value":"1000","external_name":"ms","restriction":"Int32"}],"return_type":"Nil","visibility":"Public","body":"{% if flag?(:livereloadws) %}\n tag \"script\" do\n raw <<-JS\n (function() {\n var ws = new WebSocket(\"ws://#{Lucky::ServerSettings.host}:#{Lucky::ServerSettings.reload_port}\");\n ws.onmessage = function() {\n setTimeout(function() {\n location.reload();\n }, #{ms});\n };\n })();\n JS\n end\n {% else %}{% if flag?(:livereloadsse) %}\n tag \"script\" do\n raw <<-JS\n (function() {\n var stream = new EventSource(\"http://#{Lucky::ServerSettings.host}:#{Lucky::ServerSettings.reload_port}\");\n stream.onmessage = function() {\n setTimeout(function() {\n location.reload();\n }, #{ms});\n };\n })();\n JS\n end\n {% end %}{% end %}"}}]},{"html_id":"lucky/Lucky/LoggerHelpers","path":"Lucky/LoggerHelpers.html","kind":"module","full_name":"Lucky::LoggerHelpers","name":"LoggerHelpers","abstract":false,"locations":[{"filename":"src/lucky/logger_helpers.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/logger_helpers.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"colored_http_status(status_code:Int32):String-class-method","name":"colored_http_status","abstract":false,"args":[{"name":"status_code","external_name":"status_code","restriction":"Int32"}],"args_string":"(status_code : Int32) : String","args_html":"(status_code : Int32) : String","location":{"filename":"src/lucky/logger_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/logger_helpers.cr#L2"},"def":{"name":"colored_http_status","args":[{"name":"status_code","external_name":"status_code","restriction":"Int32"}],"return_type":"String","visibility":"Public","body":"http_status = HTTP::Status.from_value?(status_code)\nstatus_name = http_status.try(&.description) || \"\"\nmessage = \"#{status_code} #{status_name}\".colorize.bold\n(case status_code\nwhen 400..499\n message.yellow\nwhen 500..599\n message.red\nelse\n message\nend).to_s\n"}},{"html_id":"elapsed_text(elapsed:Time::Span):String-class-method","name":"elapsed_text","abstract":false,"args":[{"name":"elapsed","external_name":"elapsed","restriction":"Time::Span"}],"args_string":"(elapsed : Time::Span) : String","args_html":"(elapsed : Time::Span) : String","location":{"filename":"src/lucky/logger_helpers.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/logger_helpers.cr#L17"},"def":{"name":"elapsed_text","args":[{"name":"elapsed","external_name":"elapsed","restriction":"Time::Span"}],"return_type":"String","visibility":"Public","body":"minutes = elapsed.total_minutes\nif minutes >= 1\n return \"#{minutes.round(2)}m\"\nend\nseconds = elapsed.total_seconds\nif seconds >= 1\n return \"#{seconds.round(2)}s\"\nend\nmillis = elapsed.total_milliseconds\nif millis >= 1\n return \"#{millis.round(2)}ms\"\nend\n\"#{(millis * 1000).round(2)}µs\"\n"}}]},{"html_id":"lucky/Lucky/LogHandler","path":"Lucky/LogHandler.html","kind":"class","full_name":"Lucky::LogHandler","name":"LogHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/log_handler.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/log_handler.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: skip_if : Proc(HTTP::Server::Context, Bool) | ::Nil, example: nil, validation: nil}] of Nil"},{"id":"REQUEST_END_KEYS","name":"REQUEST_END_KEYS","value":"{status: \"status\", duration: \"duration\", request_id: \"request_id\"}"},{"id":"REQUEST_START_KEYS","name":"REQUEST_START_KEYS","value":"{method: \"method\", path: \"path\", request_id: \"request_id\"}","doc":"These constants are used here and in the PrettyLogFormatter to make sure\nthat the formatter looks for the right keys!","summary":"

    These constants are used here and in the PrettyLogFormatter to make sure that the formatter looks for the right keys!

    "}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/log_handler.cr","line_number":19,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/log_handler.cr#L19"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/log_handler.cr","line_number":19,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/log_handler.cr#L19"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"call(context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":""}],"args_string":"(context)","args_html":"(context)","location":{"filename":"src/lucky/log_handler.cr","line_number":25,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/log_handler.cr#L25"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":""}],"visibility":"Public","body":"begin\n should_skip_logging = settings.skip_if.try(&.call(context))\n if should_skip_logging\n call_next(context)\n else\n log_request_start(context)\n duration = Time.measure do\n call_next(context)\n end\n log_request_end(context, duration: duration)\n Lucky::Events::RequestCompleteEvent.publish(duration)\n end\nrescue e\n log_exception(context, Time.utc, e)\n raise(e)\nend"}},{"html_id":"logger(*args,**options)-instance-method","name":"logger","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","location":{"filename":"src/lucky/log_handler.cr","line_number":23,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/log_handler.cr#L23"},"def":{"name":"logger","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"Lucky.logger(*args, **options)"}},{"html_id":"logger(*args,**options,&)-instance-method","name":"logger","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","location":{"filename":"src/lucky/log_handler.cr","line_number":23,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/log_handler.cr#L23"},"def":{"name":"logger","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"Lucky.logger(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/log_handler.cr","line_number":19,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/log_handler.cr#L19"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"types":[{"html_id":"lucky/Lucky/LogHandler/HabitatSettings","path":"Lucky/LogHandler/HabitatSettings.html","kind":"class","full_name":"Lucky::LogHandler::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/log_handler.cr","line_number":19,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/log_handler.cr#L19"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/LogHandler","kind":"class","full_name":"Lucky::LogHandler","name":"LogHandler"},"class_methods":[{"html_id":"skip_if:Proc(HTTP::Server::Context,Bool)|Nil-class-method","name":"skip_if","abstract":false,"def":{"name":"skip_if","return_type":"Proc(HTTP::Server::Context, Bool) | ::Nil","visibility":"Public","body":"@@skip_if"}},{"html_id":"skip_if=(value:Proc(HTTP::Server::Context,Bool)|Nil)-class-method","name":"skip_if=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Proc(HTTP::Server::Context, Bool) | ::Nil"}],"args_string":"(value : Proc(HTTP::Server::Context, Bool) | Nil)","args_html":"(value : Proc(HTTP::Server::Context, Bool) | Nil)","def":{"name":"skip_if=","args":[{"name":"value","external_name":"value","restriction":"Proc(HTTP::Server::Context, Bool) | ::Nil"}],"visibility":"Public","body":"@@skip_if = value"}},{"html_id":"skip_if?-class-method","name":"skip_if?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use skip_if in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use skip_if in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"skip_if?","visibility":"Public","body":"@@skip_if"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"skip_if\" => skip_if}"}}]}]},{"html_id":"lucky/Lucky/Memoizable","path":"Lucky/Memoizable.html","kind":"module","full_name":"Lucky::Memoizable","name":"Memoizable","abstract":false,"locations":[{"filename":"src/lucky/memoizable.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/memoizable.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"macros":[{"html_id":"memoize(method_def)-macro","name":"memoize","doc":"Caches the return value of the method. Helpful for expensive methods that are called more than once.\n\nTo memoize a method, prefix it with `memoize`:\n\n```\nclass BrowserAction\n memoize def current_user : User\n # Get the current user\n end\nend\n```\n\nThis will fetch the user record on the first `current_user` call,\nthen each subsequent call returns the user record.\n\nThe `memoize` method will raise a compile time exception if you forget to include\na return type for your method, or if any arguments are missing a type.\nThe result of a set of arguments is only kept until the passed arguments change.\nOnce they change, passing previous arguments will re-run the memoized method.\nEquality (==) is used for checking on argument updates.","summary":"

    Caches the return value of the method.

    ","abstract":false,"args":[{"name":"method_def","external_name":"method_def","restriction":""}],"args_string":"(method_def)","args_html":"(method_def)","location":{"filename":"src/lucky/memoizable.cr","line_number":22,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/memoizable.cr#L22"},"def":{"name":"memoize","args":[{"name":"method_def","external_name":"method_def","restriction":""}],"visibility":"Public","body":" \n{% if method_def.return_type.is_a?(Nop)\n raise(\"You must define a return type for memoized methods\")\nend %}\n\n \n{% if method_def.args.any? do |__arg0|\n __arg0.restriction.is_a?(Nop)\nend\n raise(\"All arguments must have an explicit type restriction for memoized methods\")\nend %}\n\n\n \n{% special_ending = nil\nsafe_method_name = method_def.name\n %}\n\n\n \n{% if method_def.name.ends_with?('?')\n special_ending = \"?\"\n safe_method_name = method_def.name.tr(\"?\", \"\")\nelse\n if method_def.name.ends_with?('!')\n special_ending = \"!\"\n safe_method_name = method_def.name.tr(\"!\", \"\")\n end\nend %}\n\n\n @__memoized_\n{{ safe_method_name }}\n : Tuple(\n \n{{ method_def.return_type }}\n,\n \n{% for arg in method_def.args %}\n {{ arg.restriction }},\n {% end %}\n\n )?\n\n \n# Returns uncached value\n\n def \n{{ safe_method_name }}\n__uncached\n{% if special_ending %}{{ special_ending.id }}{% end %}\n(\n \n{% for arg in method_def.args %}\n {% if arg.name == arg.internal_name %}\n {{ arg.name }} : {{ arg.restriction }},\n {% else %}\n {{ arg.name }} {{ arg.internal_name }} : {{ arg.restriction }},\n {% end %}\n {% end %}\n\n ) : \n{{ method_def.return_type }}\n\n \n{{ method_def.body }}\n\n \nend\n\n \n# Checks the passed arguments against the memoized args\n\n \n# and runs the method body if it is the very first call\n\n \n# or the arguments do not match\n\n def \n{{ safe_method_name }}\n__tuple_cached\n{% if special_ending %}{{ special_ending.id }}{% end %}\n(\n \n{% for arg in method_def.args %}\n {% if arg.name == arg.internal_name %}\n {{ arg.name }} : {{ arg.restriction }},\n {% else %}\n {{ arg.name }} {{ arg.internal_name }} : {{ arg.restriction }},\n {% end %}\n {% end %}\n\n ) : Tuple(\n \n{{ method_def.return_type }}\n,\n \n{% for arg in method_def.args %}\n {{ arg.restriction }},\n {% end %}\n\n )\n \n{% for arg, index in method_def.args %}\n @__memoized_{{ safe_method_name }} = nil if {{ arg.internal_name }} != @__memoized_{{ safe_method_name }}.try &.at({{ index }} + 1)\n {% end %}\n\n @__memoized_\n{{ safe_method_name }}\n ||= -> do\n result = \n{{ safe_method_name }}\n__uncached\n{% if special_ending %}{{ special_ending.id }}{% end %}\n(\n \n{% for arg in method_def.args %}\n {{ arg.internal_name }},\n {% end %}\n\n )\n \n{\n result,\n \n{% for arg in method_def.args %}\n {{ arg.internal_name }},\n {% end %}\n\n }\n \nend.call.not_nil!\n \nend\n\n \n# Returns cached value\n\n def \n{{ method_def.name }}\n(\n \n{% for arg in method_def.args %}\n {% has_default = (arg.default_value || (arg.default_value == false)) || (arg.default_value == nil) %}\n {% if arg.name == arg.internal_name %}\n {{ arg.name }} : {{ arg.restriction }}{% if has_default %} = {{ arg.default_value }}{% end %},\n {% else %}\n {{ arg.name }} {{ arg.internal_name }} : {{ arg.restriction }}{% if has_default %} = {{ arg.default_value }}{% end %},\n {% end %}\n {% end %}\n\n ) : \n{{ method_def.return_type }}\n\n \n{{ safe_method_name }}\n__tuple_cached\n{% if special_ending %}{{ special_ending.id }}{% end %}\n(\n \n{% for arg in method_def.args %}\n {{ arg.internal_name }},\n {% end %}\n\n ).first\n \nend\n \n"}}]},{"html_id":"lucky/Lucky/MessageEncryptor","path":"Lucky/MessageEncryptor.html","kind":"class","full_name":"Lucky::MessageEncryptor","name":"MessageEncryptor","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/support/message_encryptor.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L6"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(secret:String,cipher_algorithm:String=\"aes-256-cbc\",digest:Symbol=:sha1)-class-method","name":"new","abstract":false,"args":[{"name":"secret","external_name":"secret","restriction":"String"},{"name":"cipher_algorithm","default_value":"\"aes-256-cbc\"","external_name":"cipher_algorithm","restriction":"::String"},{"name":"digest","default_value":":sha1","external_name":"digest","restriction":"::Symbol"}],"args_string":"(secret : String, cipher_algorithm : String = \"aes-256-cbc\", digest : Symbol = :sha1)","args_html":"(secret : String, cipher_algorithm : String = "aes-256-cbc", digest : Symbol = :sha1)","location":{"filename":"src/lucky/support/message_encryptor.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L9"},"def":{"name":"new","args":[{"name":"secret","external_name":"secret","restriction":"String"},{"name":"cipher_algorithm","default_value":"\"aes-256-cbc\"","external_name":"cipher_algorithm","restriction":"::String"},{"name":"digest","default_value":":sha1","external_name":"digest","restriction":"::Symbol"}],"visibility":"Public","body":"_ = allocate\n_.initialize(secret, cipher_algorithm, digest)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"decrypt(value:Bytes):Bytes-instance-method","name":"decrypt","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Bytes"}],"args_string":"(value : Bytes) : Bytes","args_html":"(value : Bytes) : Bytes","location":{"filename":"src/lucky/support/message_encryptor.cr","line_number":46,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L46"},"def":{"name":"decrypt","args":[{"name":"value","external_name":"value","restriction":"Bytes"}],"return_type":"Bytes","visibility":"Public","body":"cipher = OpenSSL::Cipher.new(@cipher_algorithm)\ndata = value[0, value.size - @block_size]\niv = value[value.size - @block_size, @block_size]\ncipher.decrypt\nset_cipher_key(cipher)\ncipher.iv = iv\ndecrypted_data = IO::Memory.new\ndecrypted_data.write(cipher.update(data))\ndecrypted_data.write(cipher.final)\ndecrypted_data.to_slice\n"}},{"html_id":"encrypt(value):Bytes-instance-method","name":"encrypt","abstract":false,"args":[{"name":"value","external_name":"value","restriction":""}],"args_string":"(value) : Bytes","args_html":"(value) : Bytes","location":{"filename":"src/lucky/support/message_encryptor.cr","line_number":30,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L30"},"def":{"name":"encrypt","args":[{"name":"value","external_name":"value","restriction":""}],"return_type":"Bytes","visibility":"Public","body":"cipher = OpenSSL::Cipher.new(@cipher_algorithm)\ncipher.encrypt\nset_cipher_key(cipher)\niv = cipher.random_iv\nencrypted_data = IO::Memory.new\nencrypted_data.write(cipher.update(value))\nencrypted_data.write(cipher.final)\nencrypted_data.write(iv)\nencrypted_data.to_slice\n"}},{"html_id":"encrypt_and_sign(value:Slice(UInt8)):String-instance-method","name":"encrypt_and_sign","doc":"Encrypt and sign a message. We need to sign the message in order to avoid\npadding attacks. Reference: http://www.limited-entropy.com/padding-oracle-attacks.","summary":"

    Encrypt and sign a message.

    ","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Slice(UInt8)"}],"args_string":"(value : Slice(UInt8)) : String","args_html":"(value : Slice(UInt8)) : String","location":{"filename":"src/lucky/support/message_encryptor.cr","line_number":16,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L16"},"def":{"name":"encrypt_and_sign","args":[{"name":"value","external_name":"value","restriction":"Slice(UInt8)"}],"return_type":"String","visibility":"Public","body":"verifier.generate(encrypt(value))"}},{"html_id":"encrypt_and_sign(value:String):String-instance-method","name":"encrypt_and_sign","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(value : String) : String","args_html":"(value : String) : String","location":{"filename":"src/lucky/support/message_encryptor.cr","line_number":20,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L20"},"def":{"name":"encrypt_and_sign","args":[{"name":"value","external_name":"value","restriction":"String"}],"return_type":"String","visibility":"Public","body":"encrypt_and_sign(value.to_slice)"}},{"html_id":"verifier:MessageVerifier-instance-method","name":"verifier","abstract":false,"location":{"filename":"src/lucky/support/message_encryptor.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L7"},"def":{"name":"verifier","return_type":"MessageVerifier","visibility":"Public","body":"@verifier"}},{"html_id":"verify_and_decrypt(value:String):Bytes-instance-method","name":"verify_and_decrypt","doc":"Verify and Decrypt a message. We need to verify the message in order to\navoid padding attacks. Reference: http://www.limited-entropy.com/padding-oracle-attacks.","summary":"

    Verify and Decrypt a message.

    ","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(value : String) : Bytes","args_html":"(value : String) : Bytes","location":{"filename":"src/lucky/support/message_encryptor.cr","line_number":26,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L26"},"def":{"name":"verify_and_decrypt","args":[{"name":"value","external_name":"value","restriction":"String"}],"return_type":"Bytes","visibility":"Public","body":"decrypt(verifier.verify_raw(value))"}}],"types":[{"html_id":"lucky/Lucky/MessageEncryptor/InvalidSecretKeyBase","path":"Lucky/MessageEncryptor/InvalidSecretKeyBase.html","kind":"class","full_name":"Lucky::MessageEncryptor::InvalidSecretKeyBase","name":"InvalidSecretKeyBase","abstract":false,"superclass":{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},"ancestors":[{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/support/message_encryptor.cr","line_number":84,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_encryptor.cr#L84"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/MessageEncryptor","kind":"class","full_name":"Lucky::MessageEncryptor","name":"MessageEncryptor"}}]},{"html_id":"lucky/Lucky/MessageVerifier","path":"Lucky/MessageVerifier.html","kind":"class","full_name":"Lucky::MessageVerifier","name":"MessageVerifier","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/support/message_verifier.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_verifier.cr#L5"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(secret:String,digest:Symbol=:sha1)-class-method","name":"new","abstract":false,"args":[{"name":"secret","external_name":"secret","restriction":"String"},{"name":"digest","default_value":":sha1","external_name":"digest","restriction":"::Symbol"}],"args_string":"(secret : String, digest : Symbol = :sha1)","args_html":"(secret : String, digest : Symbol = :sha1)","location":{"filename":"src/lucky/support/message_verifier.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_verifier.cr#L6"},"def":{"name":"new","args":[{"name":"secret","external_name":"secret","restriction":"String"},{"name":"digest","default_value":":sha1","external_name":"digest","restriction":"::Symbol"}],"visibility":"Public","body":"_ = allocate\n_.initialize(secret, digest)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"generate(value:String|Bytes):String-instance-method","name":"generate","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String | Bytes"}],"args_string":"(value : String | Bytes) : String","args_html":"(value : String | Bytes) : String","location":{"filename":"src/lucky/support/message_verifier.cr","line_number":45,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_verifier.cr#L45"},"def":{"name":"generate","args":[{"name":"value","external_name":"value","restriction":"String | Bytes"}],"return_type":"String","visibility":"Public","body":"data = encode(value)\nencode({data, generate_digest(data)}.to_json)\n"}},{"html_id":"valid_message?(data:String,digest:String):Bool-instance-method","name":"valid_message?","abstract":false,"args":[{"name":"data","external_name":"data","restriction":"String"},{"name":"digest","external_name":"digest","restriction":"String"}],"args_string":"(data : String, digest : String) : Bool","args_html":"(data : String, digest : String) : Bool","location":{"filename":"src/lucky/support/message_verifier.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_verifier.cr#L9"},"def":{"name":"valid_message?","args":[{"name":"data","external_name":"data","restriction":"String"},{"name":"digest","external_name":"digest","restriction":"String"}],"return_type":"Bool","visibility":"Public","body":"(data.size > 0 && digest.size > 0) && (Crypto::Subtle.constant_time_compare(digest, generate_digest(data)))"}},{"html_id":"verified(signed_message:String):String|Nil-instance-method","name":"verified","abstract":false,"args":[{"name":"signed_message","external_name":"signed_message","restriction":"String"}],"args_string":"(signed_message : String) : String | Nil","args_html":"(signed_message : String) : String | Nil","location":{"filename":"src/lucky/support/message_verifier.cr","line_number":13,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_verifier.cr#L13"},"def":{"name":"verified","args":[{"name":"signed_message","external_name":"signed_message","restriction":"String"}],"return_type":"String | ::Nil","visibility":"Public","body":"begin\n json_data = ::Base64.decode_string(signed_message)\n data, digest = Tuple(String, String).from_json(json_data)\n if valid_message?(data.to_s, digest.to_s)\n String.new(decode(data.to_s))\n end\nrescue e : Base64::Error | JSON::ParseException\n nil\nend"}},{"html_id":"verify(signed_message:String):String-instance-method","name":"verify","abstract":false,"args":[{"name":"signed_message","external_name":"signed_message","restriction":"String"}],"args_string":"(signed_message : String) : String","args_html":"(signed_message : String) : String","location":{"filename":"src/lucky/support/message_verifier.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_verifier.cr#L24"},"def":{"name":"verify","args":[{"name":"signed_message","external_name":"signed_message","restriction":"String"}],"return_type":"String","visibility":"Public","body":"(verified(signed_message)) || (raise(InvalidSignatureError.new))"}},{"html_id":"verify_raw(signed_message:String):Bytes-instance-method","name":"verify_raw","abstract":false,"args":[{"name":"signed_message","external_name":"signed_message","restriction":"String"}],"args_string":"(signed_message : String) : Bytes","args_html":"(signed_message : String) : Bytes","location":{"filename":"src/lucky/support/message_verifier.cr","line_number":28,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/support/message_verifier.cr#L28"},"def":{"name":"verify_raw","args":[{"name":"signed_message","external_name":"signed_message","restriction":"String"}],"return_type":"Bytes","visibility":"Public","body":"begin\n json_data = ::Base64.decode_string(signed_message)\n data, digest = Tuple(String, String).from_json(json_data)\n if ( data && digest).nil?\n raise(InvalidSignatureError.new)\n end\n if valid_message?(data.to_s, digest.to_s)\n decode(data.to_s)\n else\n raise(InvalidSignatureError.new)\n end\nrescue e : Base64::Error | JSON::ParseException\n raise(InvalidSignatureError.new)\nend"}}]},{"html_id":"lucky/Lucky/MissingFileError","path":"Lucky/MissingFileError.html","kind":"class","full_name":"Lucky::MissingFileError","name":"MissingFileError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":214,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L214"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(path:String)-class-method","name":"new","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(path : String)","args_html":"(path : String)","location":{"filename":"src/lucky/errors.cr","line_number":217,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L217"},"def":{"name":"new","args":[{"name":"path","external_name":"path","restriction":"String"}],"visibility":"Public","body":"_ = allocate\n_.initialize(path)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"message:String-instance-method","name":"message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":220,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L220"},"def":{"name":"message","return_type":"String","visibility":"Public","body":"\"Cannot read file #{path}\""}},{"html_id":"path:String-instance-method","name":"path","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":215,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L215"},"def":{"name":"path","visibility":"Public","body":"@path"}}]},{"html_id":"lucky/Lucky/MissingNestedParamError","path":"Lucky/MissingNestedParamError.html","kind":"class","full_name":"Lucky::MissingNestedParamError","name":"MissingNestedParamError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"},{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":193,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L193"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(nested_key:String|Symbol)-class-method","name":"new","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol)","args_html":"(nested_key : String | Symbol)","location":{"filename":"src/lucky/errors.cr","line_number":198,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L198"},"def":{"name":"new","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"visibility":"Public","body":"_ = allocate\n_.initialize(nested_key)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"message:String-instance-method","name":"message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":201,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L201"},"def":{"name":"message","return_type":"String","visibility":"Public","body":"\"Missing param key: '#{nested_key}'\""}},{"html_id":"nested_key:String|Symbol-instance-method","name":"nested_key","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":196,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L196"},"def":{"name":"nested_key","visibility":"Public","body":"@nested_key"}},{"html_id":"renderable_message:String-instance-method","name":"renderable_message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":209,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L209"},"def":{"name":"renderable_message","return_type":"String","visibility":"Public","body":"message"}},{"html_id":"renderable_status:Int32-instance-method","name":"renderable_status","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":205,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L205"},"def":{"name":"renderable_status","return_type":"Int32","visibility":"Public","body":"400"}}]},{"html_id":"lucky/Lucky/MissingParamError","path":"Lucky/MissingParamError.html","kind":"class","full_name":"Lucky::MissingParamError","name":"MissingParamError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"},{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":172,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L172"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(param_name:String)-class-method","name":"new","abstract":false,"args":[{"name":"param_name","external_name":"param_name","restriction":"String"}],"args_string":"(param_name : String)","args_html":"(param_name : String)","location":{"filename":"src/lucky/errors.cr","line_number":177,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L177"},"def":{"name":"new","args":[{"name":"param_name","external_name":"param_name","restriction":"String"}],"visibility":"Public","body":"_ = allocate\n_.initialize(param_name)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"message:String-instance-method","name":"message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":180,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L180"},"def":{"name":"message","return_type":"String","visibility":"Public","body":"\"Missing parameter: '#{param_name}'\""}},{"html_id":"param_name:String-instance-method","name":"param_name","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":175,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L175"},"def":{"name":"param_name","visibility":"Public","body":"@param_name"}},{"html_id":"renderable_message:String-instance-method","name":"renderable_message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":188,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L188"},"def":{"name":"renderable_message","return_type":"String","visibility":"Public","body":"message"}},{"html_id":"renderable_status:Int32-instance-method","name":"renderable_status","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":184,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L184"},"def":{"name":"renderable_status","return_type":"Int32","visibility":"Public","body":"400"}}]},{"html_id":"lucky/Lucky/MountComponent","path":"Lucky/MountComponent.html","kind":"module","full_name":"Lucky::MountComponent","name":"MountComponent","abstract":false,"locations":[{"filename":"src/lucky/mount_component.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/mount_component.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"mount(component:Lucky::BaseComponent.class,*args,**named_args):Nil-instance-method","name":"mount","doc":"Appends the `component` to the view.\n\nWhen `Lucky::HTMLPage.settings.render_component_comments` is\nset to `true`, it will render HTML comments showing where the component\nstarts and ends.\n\n```\nmount(MyComponent)\nmount(MyComponent, with_args: 123)\n```","summary":"

    Appends the component to the view.

    ","abstract":false,"args":[{"name":"component","external_name":"component","restriction":"Lucky::BaseComponent.class"},{"name":"args","external_name":"args","restriction":""}],"args_string":"(component : Lucky::BaseComponent.class, *args, **named_args) : Nil","args_html":"(component : Lucky::BaseComponent.class, *args, **named_args) : Nil","location":{"filename":"src/lucky/mount_component.cr","line_number":12,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/mount_component.cr#L12"},"def":{"name":"mount","args":[{"name":"component","external_name":"component","restriction":"Lucky::BaseComponent.class"},{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":1,"return_type":"Nil","visibility":"Public","body":"print_component_comment(component) do\n (((component.new(*args, **named_args)).view(view)).context(@context)).render\nend"}},{"html_id":"mount(component:Lucky::BaseComponent.class,*args,**named_args,&):Nil-instance-method","name":"mount","doc":"Appends the `component` to the view. Takes a block, and yields the\nargs passed to the component.\n\nWhen `Lucky::HTMLPage.settings.render_component_comments` is\nset to `true`, it will render HTML comments showing where the component\nstarts and ends.\n\n```\nmount(MyComponent, name: \"Jane\") do |name|\n text name.upcase\nend\n```","summary":"

    Appends the component to the view.

    ","abstract":false,"args":[{"name":"component","external_name":"component","restriction":"Lucky::BaseComponent.class"},{"name":"args","external_name":"args","restriction":""}],"args_string":"(component : Lucky::BaseComponent.class, *args, **named_args, &) : Nil","args_html":"(component : Lucky::BaseComponent.class, *args, **named_args, &) : Nil","location":{"filename":"src/lucky/mount_component.cr","line_number":30,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/mount_component.cr#L30"},"def":{"name":"mount","args":[{"name":"component","external_name":"component","restriction":"Lucky::BaseComponent.class"},{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":1,"yields":1,"block_arity":1,"return_type":"Nil","visibility":"Public","body":"print_component_comment(component) do\n (((component.new(*args, **named_args)).view(view)).context(@context)).render do |*yield_args|\n yield *yield_args\n end\nend"}},{"html_id":"mount_instance(component:Lucky::BaseComponent):Nil-instance-method","name":"mount_instance","doc":"Appends the `component` to the view.\nThe `component` is a previously initialized instance of a component.\n\nWhen `Lucky::HTMLPage.settings.render_component_comments` is\nset to `true`, it will render HTML comments showing where the component\nstarts and ends.\n\n```\ncomponent = MyComponent.new(name: \"Jane\")\nmount_instance(component)\n```","summary":"

    Appends the component to the view.

    ","abstract":false,"args":[{"name":"component","external_name":"component","restriction":"Lucky::BaseComponent"}],"args_string":"(component : Lucky::BaseComponent) : Nil","args_html":"(component : Lucky::BaseComponent) : Nil","location":{"filename":"src/lucky/mount_component.cr","line_number":101,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/mount_component.cr#L101"},"def":{"name":"mount_instance","args":[{"name":"component","external_name":"component","restriction":"Lucky::BaseComponent"}],"return_type":"Nil","visibility":"Public","body":"print_component_comment(component.class) do\n ((component.view(view)).context(@context)).render\nend"}},{"html_id":"mount_instance(component:Lucky::BaseComponent,&):Nil-instance-method","name":"mount_instance","doc":"Appends the `component` to the view. Takes a block, and yields the\nargs passed to the component.\nThe `component` is a previously initialized instance of a component.\n\nWhen `Lucky::HTMLPage.settings.render_component_comments` is\nset to `true`, it will render HTML comments showing where the component\nstarts and ends.\n\n```\ncomponent = MyComponent.new(name: \"Jane\")\nmount_instance(component) do |name|\n text name.upcase\nend\n```","summary":"

    Appends the component to the view.

    ","abstract":false,"args":[{"name":"component","external_name":"component","restriction":"Lucky::BaseComponent"}],"args_string":"(component : Lucky::BaseComponent, &) : Nil","args_html":"(component : Lucky::BaseComponent, &) : Nil","location":{"filename":"src/lucky/mount_component.cr","line_number":121,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/mount_component.cr#L121"},"def":{"name":"mount_instance","args":[{"name":"component","external_name":"component","restriction":"Lucky::BaseComponent"}],"yields":1,"block_arity":1,"return_type":"Nil","visibility":"Public","body":"print_component_comment(component.class) do\n ((component.view(view)).context(@context)).render do |*yield_args|\n yield *yield_args\n end\nend"}}]},{"html_id":"lucky/Lucky/NotAcceptableError","path":"Lucky/NotAcceptableError.html","kind":"class","full_name":"Lucky::NotAcceptableError","name":"NotAcceptableError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"},{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":69,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L69"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(request:HTTP::Request,action_name:String,format:Symbol,accepted_formats:Array(Symbol))-class-method","name":"new","abstract":false,"args":[{"name":"request","external_name":"request","restriction":"HTTP::Request"},{"name":"action_name","external_name":"action_name","restriction":"String"},{"name":"format","external_name":"format","restriction":"Symbol"},{"name":"accepted_formats","external_name":"accepted_formats","restriction":"Array(Symbol)"}],"args_string":"(request : HTTP::Request, action_name : String, format : Symbol, accepted_formats : Array(Symbol))","args_html":"(request : HTTP::Request, action_name : String, format : Symbol, accepted_formats : Array(Symbol))","location":{"filename":"src/lucky/errors.cr","line_number":74,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L74"},"def":{"name":"new","args":[{"name":"request","external_name":"request","restriction":"HTTP::Request"},{"name":"action_name","external_name":"action_name","restriction":"String"},{"name":"format","external_name":"format","restriction":"Symbol"},{"name":"accepted_formats","external_name":"accepted_formats","restriction":"Array(Symbol)"}],"visibility":"Public","body":"_ = allocate\n_.initialize(request, action_name, format, accepted_formats)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"renderable_message:String-instance-method","name":"renderable_message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":93,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L93"},"def":{"name":"renderable_message","return_type":"String","visibility":"Public","body":"\"Accept header '#{request.headers[\"Accept\"]?}' is not accepted.\""}},{"html_id":"renderable_status:Int32-instance-method","name":"renderable_status","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":89,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L89"},"def":{"name":"renderable_status","return_type":"Int32","visibility":"Public","body":"406"}},{"html_id":"request:HTTP::Request-instance-method","name":"request","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":72,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L72"},"def":{"name":"request","visibility":"Public","body":"@request"}}]},{"html_id":"lucky/Lucky/NumberToCurrency","path":"Lucky/NumberToCurrency.html","kind":"module","full_name":"Lucky::NumberToCurrency","name":"NumberToCurrency","abstract":false,"locations":[{"filename":"src/lucky/page_helpers/number_to_currency.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/number_to_currency.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"DEFAULT_DELIMITER","name":"DEFAULT_DELIMITER","value":"\",\""},{"id":"DEFAULT_DELIMITER_REGEX","name":"DEFAULT_DELIMITER_REGEX","value":"/(\\d)(?=(\\d\\d\\d)+(?!\\d))/"},{"id":"DEFAULT_FORMAT","name":"DEFAULT_FORMAT","value":"\"%u%n\""},{"id":"DEFAULT_PRECISION","name":"DEFAULT_PRECISION","value":"2"},{"id":"DEFAULT_SEPARATOR","name":"DEFAULT_SEPARATOR","value":"\".\""},{"id":"DEFAULT_UNIT","name":"DEFAULT_UNIT","value":"\"$\""}],"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"number_to_currency(value:Float|Int32|String,precision:Int32=DEFAULT_PRECISION,unit:String=DEFAULT_UNIT,separator:String=DEFAULT_SEPARATOR,delimiter:String=DEFAULT_DELIMITER,delimiter_pattern:Regex=DEFAULT_DELIMITER_REGEX,format:String=DEFAULT_FORMAT,negative_format:String=DEFAULT_FORMAT):String-instance-method","name":"number_to_currency","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Float | Int32 | String"},{"name":"precision","default_value":"DEFAULT_PRECISION","external_name":"precision","restriction":"Int32"},{"name":"unit","default_value":"DEFAULT_UNIT","external_name":"unit","restriction":"String"},{"name":"separator","default_value":"DEFAULT_SEPARATOR","external_name":"separator","restriction":"String"},{"name":"delimiter","default_value":"DEFAULT_DELIMITER","external_name":"delimiter","restriction":"String"},{"name":"delimiter_pattern","default_value":"DEFAULT_DELIMITER_REGEX","external_name":"delimiter_pattern","restriction":"Regex"},{"name":"format","default_value":"DEFAULT_FORMAT","external_name":"format","restriction":"String"},{"name":"negative_format","default_value":"DEFAULT_FORMAT","external_name":"negative_format","restriction":"String"}],"args_string":"(value : Float | Int32 | String, precision : Int32 = DEFAULT_PRECISION, unit : String = DEFAULT_UNIT, separator : String = DEFAULT_SEPARATOR, delimiter : String = DEFAULT_DELIMITER, delimiter_pattern : Regex = DEFAULT_DELIMITER_REGEX, format : String = DEFAULT_FORMAT, negative_format : String = DEFAULT_FORMAT) : String","args_html":"(value : Float | Int32 | String, precision : Int32 = DEFAULT_PRECISION, unit : String = DEFAULT_UNIT, separator : String = DEFAULT_SEPARATOR, delimiter : String = DEFAULT_DELIMITER, delimiter_pattern : Regex = DEFAULT_DELIMITER_REGEX, format : String = DEFAULT_FORMAT, negative_format : String = DEFAULT_FORMAT) : String","location":{"filename":"src/lucky/page_helpers/number_to_currency.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/number_to_currency.cr#L9"},"def":{"name":"number_to_currency","args":[{"name":"value","external_name":"value","restriction":"Float | Int32 | String"},{"name":"precision","default_value":"DEFAULT_PRECISION","external_name":"precision","restriction":"Int32"},{"name":"unit","default_value":"DEFAULT_UNIT","external_name":"unit","restriction":"String"},{"name":"separator","default_value":"DEFAULT_SEPARATOR","external_name":"separator","restriction":"String"},{"name":"delimiter","default_value":"DEFAULT_DELIMITER","external_name":"delimiter","restriction":"String"},{"name":"delimiter_pattern","default_value":"DEFAULT_DELIMITER_REGEX","external_name":"delimiter_pattern","restriction":"Regex"},{"name":"format","default_value":"DEFAULT_FORMAT","external_name":"format","restriction":"String"},{"name":"negative_format","default_value":"DEFAULT_FORMAT","external_name":"negative_format","restriction":"String"}],"return_type":"String","visibility":"Public","body":"value = value.to_s\nif value.to_f.sign == -1\n if negative_format != DEFAULT_FORMAT\n format = negative_format\n end\n value = value.to_f.abs.to_s\nend\nvalue = \"%.#{precision}f\" % value\nleft, right = value.split(\".\")\nleft = left.gsub(delimiter_pattern) do |digit_to_delimit|\n \"#{digit_to_delimit}#{delimiter}\"\nend\nnumber = \"#{left}#{separator}#{right}\"\n(format.gsub(\"%n\", number)).gsub(\"%u\", unit)\n"}}]},{"html_id":"lucky/Lucky/Paginator","path":"Lucky/Paginator.html","kind":"class","full_name":"Lucky::Paginator","name":"Paginator","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/paginator/paginator.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(page:Int32,per_page:Int32,item_count:Int32|Int64,full_path:String)-class-method","name":"new","abstract":false,"args":[{"name":"page","external_name":"page","restriction":"::Int32"},{"name":"per_page","external_name":"per_page","restriction":"::Int32"},{"name":"item_count","external_name":"item_count","restriction":"::Int32 | ::Int64"},{"name":"full_path","external_name":"full_path","restriction":"::String"}],"args_string":"(page : Int32, per_page : Int32, item_count : Int32 | Int64, full_path : String)","args_html":"(page : Int32, per_page : Int32, item_count : Int32 | Int64, full_path : String)","location":{"filename":"src/lucky/paginator/paginator.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L9"},"def":{"name":"new","args":[{"name":"page","external_name":"page","restriction":"::Int32"},{"name":"per_page","external_name":"per_page","restriction":"::Int32"},{"name":"item_count","external_name":"item_count","restriction":"::Int32 | ::Int64"},{"name":"full_path","external_name":"full_path","restriction":"::String"}],"visibility":"Public","body":"_ = allocate\n_.initialize(page, per_page, item_count, full_path)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"first_page?:Bool-instance-method","name":"first_page?","doc":"Returns `true` if the current `page` is the first one.","summary":"

    Returns true if the current #page is the first one.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":42,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L42"},"def":{"name":"first_page?","return_type":"Bool","visibility":"Public","body":"page == 1"}},{"html_id":"full_path:String-instance-method","name":"full_path","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L5"},"def":{"name":"full_path","return_type":"String","visibility":"Public","body":"@full_path"}},{"html_id":"item_count:Int32|Int64-instance-method","name":"item_count","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L4"},"def":{"name":"item_count","return_type":"Int32 | Int64","visibility":"Public","body":"@item_count"}},{"html_id":"item_range:Range-instance-method","name":"item_range","doc":"Returns the `Range` of items on this page.\n\nFor example if you have 50 records, showing 20 per page, and\nyou are on the 2nd page this method will return a range of 21-40.\n\nYou can get the beginning and end by calling `begin` or `end` on the\nreturned `Range`.","summary":"

    Returns the Range of items on this page.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":58,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L58"},"def":{"name":"item_range","return_type":"Range","visibility":"Public","body":"starting_item_number = ((page - 1) * per_page) + 1\nending_item_number = [((starting_item_number + per_page) - 1), item_count].min\nRange.new(starting_item_number, ending_item_number)\n"}},{"html_id":"last_page?:Bool-instance-method","name":"last_page?","doc":"Returns `true` if current `page` is the last one.","summary":"

    Returns true if current #page is the last one.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":37,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L37"},"def":{"name":"last_page?","return_type":"Bool","visibility":"Public","body":"page == total"}},{"html_id":"next_page:Int32|Nil-instance-method","name":"next_page","doc":"Returns the next page number or nil if the current page is the last one.","summary":"

    Returns the next page number or nil if the current page is the last one.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":70,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L70"},"def":{"name":"next_page","return_type":"Int32 | ::Nil","visibility":"Public","body":"if last_page? || overflowed?\nelse\n page + 1\nend"}},{"html_id":"offset:Int32-instance-method","name":"offset","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":27,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L27"},"def":{"name":"offset","return_type":"Int32","visibility":"Public","body":"per_page * (page - 1)"}},{"html_id":"one_page?:Bool-instance-method","name":"one_page?","doc":"Returns `true` if there is just one page.","summary":"

    Returns true if there is just one page.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":23,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L23"},"def":{"name":"one_page?","return_type":"Bool","visibility":"Public","body":"total == 1"}},{"html_id":"overflowed?:Bool-instance-method","name":"overflowed?","doc":"Returns `true` if the current `page` is past the last page.","summary":"

    Returns true if the current #page is past the last page.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":47,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L47"},"def":{"name":"overflowed?","return_type":"Bool","visibility":"Public","body":"page > total"}},{"html_id":"page:Int32-instance-method","name":"page","doc":"Returns the current page. Return `1` if the passed in `page` is lower than `1`.","summary":"

    Returns the current page.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":13,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L13"},"def":{"name":"page","return_type":"Int32","visibility":"Public","body":"if @page < 1\n @page = 1\nelse\n @page\nend"}},{"html_id":"path_to_next:String|Nil-instance-method","name":"path_to_next","doc":"Returns the path with a 'page' query param for the previous page.\n\nReturn nil if there is no previous page","summary":"

    Returns the path with a 'page' query param for the previous page.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":86,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L86"},"def":{"name":"path_to_next","return_type":"String | ::Nil","visibility":"Public","body":"if page_number = next_page\n path_to_page(page_number)\nend"}},{"html_id":"path_to_page(page_number:Int):String-instance-method","name":"path_to_page","doc":"Generate a page with the 'page' query param set to the passed in `page_number`.\n\n## Examples\n\n```\npages = Paginator.new(\n page: 1,\n per_page: 25,\n item_count: 70,\n full_path: \"/comments\"\n)\npages.path_to_page(2) # \"/comments?page=2\"\n```","summary":"

    Generate a page with the 'page' query param set to the passed in page_number.

    ","abstract":false,"args":[{"name":"page_number","external_name":"page_number","restriction":"Int"}],"args_string":"(page_number : Int) : String","args_html":"(page_number : Int) : String","location":{"filename":"src/lucky/paginator/paginator.cr","line_number":105,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L105"},"def":{"name":"path_to_page","args":[{"name":"page_number","external_name":"page_number","restriction":"Int"}],"return_type":"String","visibility":"Public","body":"uri = URI.parse(full_path)\nquery_params = uri.query_params\nquery_params[\"page\"] = page_number.to_s\nuri.query = query_params.to_s\nuri.to_s\n"}},{"html_id":"path_to_previous:String|Nil-instance-method","name":"path_to_previous","doc":"Returns the path with a 'page' query param for the previous page.\n\nReturn nil if there is no previous page","summary":"

    Returns the path with a 'page' query param for the previous page.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":77,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L77"},"def":{"name":"path_to_previous","return_type":"String | ::Nil","visibility":"Public","body":"if page_number = previous_page\n path_to_page(page_number)\nend"}},{"html_id":"per_page:Int32-instance-method","name":"per_page","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L3"},"def":{"name":"per_page","return_type":"Int32","visibility":"Public","body":"@per_page"}},{"html_id":"previous_page:Int32|Nil-instance-method","name":"previous_page","doc":"Returns the previous page number or nil if the current page is the first one.","summary":"

    Returns the previous page number or nil if the current page is the first one.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":65,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L65"},"def":{"name":"previous_page","return_type":"Int32 | ::Nil","visibility":"Public","body":"if first_page?\nelse\n page - 1\nend"}},{"html_id":"series(beginbeginning:Int32=0,left_of_current:Int32=0,right_of_current:Int32=0,endending:Int32=0):Array(SeriesItem)-instance-method","name":"series","doc":"# The `series` method is smart and will not add gaps if there is no gap.\n# It will also not add items past the current page.\nseries = pages.series(begin: 6)\nseries # [1, 2, 3, 4, 5]\n```\n\nAs mentioned above the **actual** objects in the Array are made up of\n`Lucky::Paginator::Gap`, `Lucky::Paginator::Page`, and\n`Lucky::Paginator::CurrentPage` objects.\n\n```\npages.series(begin: 1, end: 1)\n# Returns:\n# [\n# Lucky::Paginator::Page(1),\n# Lucky::Paginator::Gap,\n# Lucky::Paginator::CurrentPage(5),\n# Lucky::Paginator::Gap,\n# Lucky::Paginator::Page(10),\n# ]\n```\n\nThe `Page` and `CurrentPage` objects have a `number` and `path` method.\n`Page#number` returns the number of the page as an Int. The `Page#path` method\nReturn the path to the next page.\n\nThe `Gap` object has no methods or instance variables. It is there to\nrepresent a \"gap\" of pages.\n\nThese objects make it easy to use [method # overloading](https://crystal-lang.org/reference/syntax_and_semantics/overloading.html)\nor `is_a?` to determine how to render each item.\n\nHere's a quick example:\n\n```\npages.series(begin: 1, end: 1).each do |item|\n case item\n when Lucky::Paginator::CurrentPage | Lucky::Paginator::Page\n pp! item.number # Int32 representing the page number\n pp! item.path # \"/items?page=2\"\n when Lucky::Paginator::Gap\n puts \"...\"\n end\nend\n```\n\nOr use method overloading. This will show an example using Lucky's HTML methods:\n\n```\nclass PageNav < BaseComponent\n needs pages : Lucky::Paginator\n\n def render\n pages.series(begin: 1, end: 1).each do |item|\n page_item(item)\n end\n end\n\n def page_item(page : Lucky::Paginator::CurrentPage)\n # If it is the current page, just display text and no link\n text page.number\n end\n\n def page_item(page : Lucky::Paginator::CurrentPage)\n a page.number, href: page.path\n end\n\n def page_item(gap : Lucky::Paginator::Gap)\n text \"..\"\n end\nend\n```","summary":"

    \n \n \nThe #series method is smart and will not add gaps if there is no gap.

    ","abstract":false,"args":[{"name":"beginning","default_value":"0","external_name":"begin","restriction":"Int32"},{"name":"left_of_current","default_value":"0","external_name":"left_of_current","restriction":"Int32"},{"name":"right_of_current","default_value":"0","external_name":"right_of_current","restriction":"Int32"},{"name":"ending","default_value":"0","external_name":"end","restriction":"Int32"}],"args_string":"(begin beginning : Int32 = 0, left_of_current : Int32 = 0, right_of_current : Int32 = 0, end ending : Int32 = 0) : Array(SeriesItem)","args_html":"(begin beginning : Int32 = 0, left_of_current : Int32 = 0, right_of_current : Int32 = 0, end ending : Int32 = 0) : Array(SeriesItem)","location":{"filename":"src/lucky/paginator/paginator.cr","line_number":213,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L213"},"def":{"name":"series","args":[{"name":"beginning","default_value":"0","external_name":"begin","restriction":"Int32"},{"name":"left_of_current","default_value":"0","external_name":"left_of_current","restriction":"Int32"},{"name":"right_of_current","default_value":"0","external_name":"right_of_current","restriction":"Int32"},{"name":"ending","default_value":"0","external_name":"end","restriction":"Int32"}],"return_type":"Array(SeriesItem)","visibility":"Public","body":"middle_pages = build_middle_of_series(left_of_current, right_of_current)\nbeginning_and_middle_pages = add_beginning_pages(middle_pages, beginning)\nadd_ending_pages(beginning_and_middle_pages, ending)\n"}},{"html_id":"total:Int64-instance-method","name":"total","doc":"Returns the total number of pages.","summary":"

    Returns the total number of pages.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/paginator.cr","line_number":32,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L32"},"def":{"name":"total","return_type":"Int64","visibility":"Public","body":"(item_count / per_page).ceil.to_i64"}}],"types":[{"html_id":"lucky/Lucky/Paginator/BackendHelpers","path":"Lucky/Paginator/BackendHelpers.html","kind":"module","full_name":"Lucky::Paginator::BackendHelpers","name":"BackendHelpers","abstract":false,"locations":[{"filename":"src/lucky/paginator/backend_helpers.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/backend_helpers.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/Paginator","kind":"class","full_name":"Lucky::Paginator","name":"Paginator"},"instance_methods":[{"html_id":"paginate_array(items:Array(T),per_page:Int32=paginator_per_page):Tuple(Paginator,Array(T))forallT-instance-method","name":"paginate_array","doc":"Call this in your actions to paginate an array.\n\nThis method will return a `Lucky::Paginator` object and the requested page\nof items.\n\n## Examples\n\n```\nclass ListItems::Index < BrowserAction\n get \"/items\" do\n # The 'Array' will just show items for the requested page\n pages, items = paginate_array([1, 2, 3])\n render IndexPage, pages: pages, items: items\n end\nend\n\nclass Users::IndexPage < MainLayout\n needs pages : Lucky::Paginator\n needs items : Array(Int32)\n\n def content\n # Render pagination links for the 'items' Array\n mount Lucky::Paginator::SimpleNav, @pages\n end\nend\n```","summary":"

    Call this in your actions to paginate an array.

    ","abstract":false,"args":[{"name":"items","external_name":"items","restriction":"Array(T)"},{"name":"per_page","default_value":"paginator_per_page","external_name":"per_page","restriction":"Int32"}],"args_string":"(items : Array(T), per_page : Int32 = paginator_per_page) : Tuple(Paginator, Array(T)) forall T","args_html":"(items : Array(T), per_page : Int32 = paginator_per_page) : Tuple(Paginator, Array(T)) forall T","location":{"filename":"src/lucky/paginator/backend_helpers.cr","line_number":28,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/backend_helpers.cr#L28"},"def":{"name":"paginate_array","args":[{"name":"items","external_name":"items","restriction":"Array(T)"},{"name":"per_page","default_value":"paginator_per_page","external_name":"per_page","restriction":"Int32"}],"return_type":"Tuple(Paginator, Array(T))","visibility":"Public","body":"pages = Paginator.new(page: paginator_page, per_page: per_page, item_count: items.size, full_path: context.request.resource)\nif pages.overflowed?\n return {pages, Array(T).new}\nend\nupdated_items = items[pages.offset...(pages.offset + pages.per_page)]\n{pages, updated_items}\n"}},{"html_id":"paginator_page:Int32-instance-method","name":"paginator_page","doc":"Returns the page that was request, or `1`\n\nBy default this method looks for a `page` param. It can be given as a\nquery param, or in the body. If no `page` param is given the page will be `1`.\n\nYou can override this method in your action in any way you'd like.\n\n## Example\n\n```\nabstract class ApiAction < Lucky::Action\n include Lucky::Paginator::BackendHelpers\n\n def paginator_page : Int32\n # Will use the \"Page\" header or fallback to default if missing.\n request.headers[\"Page\"]? || super\n end\nend\n```","summary":"

    Returns the page that was request, or 1

    ","abstract":false,"location":{"filename":"src/lucky/paginator/backend_helpers.cr","line_number":63,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/backend_helpers.cr#L63"},"def":{"name":"paginator_page","return_type":"Int32","visibility":"Public","body":"(params.get?(:page)).try(&.to_i) || 1"}},{"html_id":"paginator_per_page:Int32-instance-method","name":"paginator_per_page","doc":"The number of records to display per page. Defaults to `25`\n\nYou can override this in your actions\n\n## Example\n\n```\nabstract class BrowserAction < Lucky::Action\n include Lucky::Paginator::BackendHelpers\n\n # Set to a new static value\n def paginator_per_page : Int32\n 50 # defaults to 25\n end\n\n # Or you could allow setting the number from a param\n def paginator_per_page : Int32\n params.get?(:per_page).try(&.to_i) || 25\n end\nend\n```","summary":"

    The number of records to display per page.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/backend_helpers.cr","line_number":88,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/backend_helpers.cr#L88"},"def":{"name":"paginator_per_page","return_type":"Int32","visibility":"Public","body":"25"}}]},{"html_id":"lucky/Lucky/Paginator/BootstrapNav","path":"Lucky/Paginator/BootstrapNav.html","kind":"class","full_name":"Lucky::Paginator::BootstrapNav","name":"BootstrapNav","abstract":false,"superclass":{"html_id":"lucky/Lucky/BaseComponent","kind":"class","full_name":"Lucky::BaseComponent","name":"BaseComponent"},"ancestors":[{"html_id":"lucky/Lucky/BaseComponent","kind":"class","full_name":"Lucky::BaseComponent","name":"BaseComponent"},{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"},{"html_id":"lucky/Lucky/SvgInliner","kind":"module","full_name":"Lucky::SvgInliner","name":"SvgInliner"},{"html_id":"lucky/Lucky/LiveReloadTag","kind":"module","full_name":"Lucky::LiveReloadTag","name":"LiveReloadTag"},{"html_id":"lucky/Lucky/TagDefaults","kind":"module","full_name":"Lucky::TagDefaults","name":"TagDefaults"},{"html_id":"lucky/Lucky/RenderIfDefined","kind":"module","full_name":"Lucky::RenderIfDefined","name":"RenderIfDefined"},{"html_id":"lucky/Lucky/HelpfulParagraphError","kind":"module","full_name":"Lucky::HelpfulParagraphError","name":"HelpfulParagraphError"},{"html_id":"lucky/Lucky/MountComponent","kind":"module","full_name":"Lucky::MountComponent","name":"MountComponent"},{"html_id":"lucky/Lucky/ForgeryProtectionHelpers","kind":"module","full_name":"Lucky::ForgeryProtectionHelpers","name":"ForgeryProtectionHelpers"},{"html_id":"lucky/Lucky/TimeHelpers","kind":"module","full_name":"Lucky::TimeHelpers","name":"TimeHelpers"},{"html_id":"lucky/Lucky/UrlHelpers","kind":"module","full_name":"Lucky::UrlHelpers","name":"UrlHelpers"},{"html_id":"lucky/Lucky/HTMLTextHelpers","kind":"module","full_name":"Lucky::HTMLTextHelpers","name":"HTMLTextHelpers"},{"html_id":"lucky/Lucky/TextHelpers","kind":"module","full_name":"Lucky::TextHelpers","name":"TextHelpers"},{"html_id":"lucky/Lucky/NumberToCurrency","kind":"module","full_name":"Lucky::NumberToCurrency","name":"NumberToCurrency"},{"html_id":"lucky/Lucky/AssetHelpers","kind":"module","full_name":"Lucky::AssetHelpers","name":"AssetHelpers"},{"html_id":"lucky/Lucky/Assignable","kind":"module","full_name":"Lucky::Assignable","name":"Assignable"},{"html_id":"lucky/Lucky/SpecialtyTags","kind":"module","full_name":"Lucky::SpecialtyTags","name":"SpecialtyTags"},{"html_id":"lucky/Lucky/FormHelpers","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers"},{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/LinkHelpers","kind":"module","full_name":"Lucky::LinkHelpers","name":"LinkHelpers"},{"html_id":"lucky/Lucky/CustomTags","kind":"module","full_name":"Lucky::CustomTags","name":"CustomTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Lucky/BaseTags","kind":"module","full_name":"Lucky::BaseTags","name":"BaseTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L4"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ASSIGNS","name":"ASSIGNS","value":"[pages : Lucky::Paginator] of Nil","doc":"Pagination component using Bootstrap styles\n\nhttps://getbootstrap.com/docs/4.0/components/pagination/","summary":"

    Pagination component using Bootstrap styles

    "}],"namespace":{"html_id":"lucky/Lucky/Paginator","kind":"class","full_name":"Lucky::Paginator","name":"Paginator"},"doc":"Pagination component using Bootstrap styles\n\nhttps://getbootstrap.com/docs/4.0/components/pagination/","summary":"

    Pagination component using Bootstrap styles

    ","class_methods":[{"html_id":"file_location-class-method","name":"file_location","doc":"Returns the relative file location to the\nproject root. e.g. src/components/my_component.cr","summary":"

    Returns the relative file location to the project root.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L4"},"def":{"name":"file_location","visibility":"Public","body":"\"/home/runner/work/lucky/lucky/src/lucky/paginator/components/bootstrap_nav.cr\".gsub(\"#{Dir.current}/\", \"\")"}}],"constructors":[{"html_id":"new(pages:Lucky::Paginator,**unused_exposures)-class-method","name":"new","doc":"Pagination component using Bootstrap styles\n\nhttps://getbootstrap.com/docs/4.0/components/pagination/","summary":"

    Pagination component using Bootstrap styles

    ","abstract":false,"args":[{"name":"pages","external_name":"pages","restriction":"Lucky::Paginator"}],"args_string":"(pages : Lucky::Paginator, **unused_exposures)","args_html":"(pages : Lucky::Paginator, **unused_exposures)","def":{"name":"new","args":[{"name":"pages","external_name":"pages","restriction":"Lucky::Paginator"}],"double_splat":{"name":"unused_exposures","external_name":"unused_exposures","restriction":""},"visibility":"Public","body":"_ = allocate\n_.initialize(pages, **unused_exposures)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"next_link-instance-method","name":"next_link","abstract":false,"location":{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":47,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L47"},"def":{"name":"next_link","visibility":"Public","body":"li(class: \"page-item #{if @pages.last_page?\n \"disabled\"\nend}\") do\n a(\"Next\", href: @pages.path_to_next.to_s, class: \"page-link\")\nend"}},{"html_id":"page_links-instance-method","name":"page_links","abstract":false,"location":{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L17"},"def":{"name":"page_links","visibility":"Public","body":"@pages.series(begin: 1, left_of_current: 1, right_of_current: 1, end: 1).each do |item|\n render_page_item(item)\nend"}},{"html_id":"pages:Lucky::Paginator-instance-method","name":"pages","abstract":false,"def":{"name":"pages","visibility":"Public","body":"@pages"}},{"html_id":"previous_link-instance-method","name":"previous_link","abstract":false,"location":{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":41,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L41"},"def":{"name":"previous_link","visibility":"Public","body":"li(class: \"page-item #{if @pages.first_page?\n \"disabled\"\nend}\") do\n a(\"Previous\", href: @pages.path_to_previous.to_s, class: \"page-link\")\nend"}},{"html_id":"render-instance-method","name":"render","abstract":false,"location":{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L7"},"def":{"name":"render","visibility":"Public","body":"nav(aria_label: \"pagination\", role: \"navigation\") do\n ul(class: \"pagination\", aria_label: \"pagination\") do\n previous_link\n page_links\n next_link\n end\nend"}},{"html_id":"render_page_item(page:Lucky::Paginator::CurrentPage)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::CurrentPage"}],"args_string":"(page : Lucky::Paginator::CurrentPage)","args_html":"(page : Lucky::Paginator::CurrentPage)","location":{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L29"},"def":{"name":"render_page_item","args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::CurrentPage"}],"visibility":"Public","body":"li(class: \"page-item active disabled\") do\n a(page.number, href: page.path, class: \"page-link\")\nend"}},{"html_id":"render_page_item(page:Lucky::Paginator::Page)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::Page"}],"args_string":"(page : Lucky::Paginator::Page)","args_html":"(page : Lucky::Paginator::Page)","location":{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":23,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L23"},"def":{"name":"render_page_item","args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::Page"}],"visibility":"Public","body":"li(class: \"page-item\") do\n a(page.number, href: page.path, class: \"page-link\")\nend"}},{"html_id":"render_page_item(gap:Lucky::Paginator::Gap)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"gap","external_name":"gap","restriction":"Lucky::Paginator::Gap"}],"args_string":"(gap : Lucky::Paginator::Gap)","args_html":"(gap : Lucky::Paginator::Gap)","location":{"filename":"src/lucky/paginator/components/bootstrap_nav.cr","line_number":35,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bootstrap_nav.cr#L35"},"def":{"name":"render_page_item","args":[{"name":"gap","external_name":"gap","restriction":"Lucky::Paginator::Gap"}],"visibility":"Public","body":"li(class: \"page-item\") do\n a(class: \"page-link disabled\") do\n raw(\"…\")\n end\nend"}}]},{"html_id":"lucky/Lucky/Paginator/BulmaNav","path":"Lucky/Paginator/BulmaNav.html","kind":"class","full_name":"Lucky::Paginator::BulmaNav","name":"BulmaNav","abstract":false,"superclass":{"html_id":"lucky/Lucky/BaseComponent","kind":"class","full_name":"Lucky::BaseComponent","name":"BaseComponent"},"ancestors":[{"html_id":"lucky/Lucky/BaseComponent","kind":"class","full_name":"Lucky::BaseComponent","name":"BaseComponent"},{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"},{"html_id":"lucky/Lucky/SvgInliner","kind":"module","full_name":"Lucky::SvgInliner","name":"SvgInliner"},{"html_id":"lucky/Lucky/LiveReloadTag","kind":"module","full_name":"Lucky::LiveReloadTag","name":"LiveReloadTag"},{"html_id":"lucky/Lucky/TagDefaults","kind":"module","full_name":"Lucky::TagDefaults","name":"TagDefaults"},{"html_id":"lucky/Lucky/RenderIfDefined","kind":"module","full_name":"Lucky::RenderIfDefined","name":"RenderIfDefined"},{"html_id":"lucky/Lucky/HelpfulParagraphError","kind":"module","full_name":"Lucky::HelpfulParagraphError","name":"HelpfulParagraphError"},{"html_id":"lucky/Lucky/MountComponent","kind":"module","full_name":"Lucky::MountComponent","name":"MountComponent"},{"html_id":"lucky/Lucky/ForgeryProtectionHelpers","kind":"module","full_name":"Lucky::ForgeryProtectionHelpers","name":"ForgeryProtectionHelpers"},{"html_id":"lucky/Lucky/TimeHelpers","kind":"module","full_name":"Lucky::TimeHelpers","name":"TimeHelpers"},{"html_id":"lucky/Lucky/UrlHelpers","kind":"module","full_name":"Lucky::UrlHelpers","name":"UrlHelpers"},{"html_id":"lucky/Lucky/HTMLTextHelpers","kind":"module","full_name":"Lucky::HTMLTextHelpers","name":"HTMLTextHelpers"},{"html_id":"lucky/Lucky/TextHelpers","kind":"module","full_name":"Lucky::TextHelpers","name":"TextHelpers"},{"html_id":"lucky/Lucky/NumberToCurrency","kind":"module","full_name":"Lucky::NumberToCurrency","name":"NumberToCurrency"},{"html_id":"lucky/Lucky/AssetHelpers","kind":"module","full_name":"Lucky::AssetHelpers","name":"AssetHelpers"},{"html_id":"lucky/Lucky/Assignable","kind":"module","full_name":"Lucky::Assignable","name":"Assignable"},{"html_id":"lucky/Lucky/SpecialtyTags","kind":"module","full_name":"Lucky::SpecialtyTags","name":"SpecialtyTags"},{"html_id":"lucky/Lucky/FormHelpers","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers"},{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/LinkHelpers","kind":"module","full_name":"Lucky::LinkHelpers","name":"LinkHelpers"},{"html_id":"lucky/Lucky/CustomTags","kind":"module","full_name":"Lucky::CustomTags","name":"CustomTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Lucky/BaseTags","kind":"module","full_name":"Lucky::BaseTags","name":"BaseTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L4"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ASSIGNS","name":"ASSIGNS","value":"[pages : Lucky::Paginator] of Nil","doc":"Pagination component using Bulma Pagination styles\n\nhttps://bulma.io/documentation/components/pagination/","summary":"

    Pagination component using Bulma Pagination styles

    "}],"namespace":{"html_id":"lucky/Lucky/Paginator","kind":"class","full_name":"Lucky::Paginator","name":"Paginator"},"doc":"Pagination component using Bulma Pagination styles\n\nhttps://bulma.io/documentation/components/pagination/","summary":"

    Pagination component using Bulma Pagination styles

    ","class_methods":[{"html_id":"file_location-class-method","name":"file_location","doc":"Returns the relative file location to the\nproject root. e.g. src/components/my_component.cr","summary":"

    Returns the relative file location to the project root.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L4"},"def":{"name":"file_location","visibility":"Public","body":"\"/home/runner/work/lucky/lucky/src/lucky/paginator/components/bulma_nav.cr\".gsub(\"#{Dir.current}/\", \"\")"}}],"constructors":[{"html_id":"new(pages:Lucky::Paginator,**unused_exposures)-class-method","name":"new","doc":"Pagination component using Bulma Pagination styles\n\nhttps://bulma.io/documentation/components/pagination/","summary":"

    Pagination component using Bulma Pagination styles

    ","abstract":false,"args":[{"name":"pages","external_name":"pages","restriction":"Lucky::Paginator"}],"args_string":"(pages : Lucky::Paginator, **unused_exposures)","args_html":"(pages : Lucky::Paginator, **unused_exposures)","def":{"name":"new","args":[{"name":"pages","external_name":"pages","restriction":"Lucky::Paginator"}],"double_splat":{"name":"unused_exposures","external_name":"unused_exposures","restriction":""},"visibility":"Public","body":"_ = allocate\n_.initialize(pages, **unused_exposures)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"next_link-instance-method","name":"next_link","abstract":false,"location":{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":41,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L41"},"def":{"name":"next_link","visibility":"Public","body":"li do\n a(\"Next\", href: @pages.path_to_next.to_s, class: \"pagination-next\")\nend"}},{"html_id":"page_links-instance-method","name":"page_links","abstract":false,"location":{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L17"},"def":{"name":"page_links","visibility":"Public","body":"@pages.series(begin: 1, left_of_current: 1, right_of_current: 1, end: 1).each do |item|\n render_page_item(item)\nend"}},{"html_id":"pages:Lucky::Paginator-instance-method","name":"pages","abstract":false,"def":{"name":"pages","visibility":"Public","body":"@pages"}},{"html_id":"previous_link-instance-method","name":"previous_link","abstract":false,"location":{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":37,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L37"},"def":{"name":"previous_link","visibility":"Public","body":"li do\n a(\"Previous\", href: @pages.path_to_previous.to_s, class: \"pagination-previous\")\nend"}},{"html_id":"render-instance-method","name":"render","abstract":false,"location":{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L7"},"def":{"name":"render","visibility":"Public","body":"nav(aria_label: \"pagination\", class: \"pagination\", role: \"navigation\") do\n ul(class: \"pagination-list\") do\n previous_link\n page_links\n next_link\n end\nend"}},{"html_id":"render_page_item(page:Lucky::Paginator::CurrentPage)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::CurrentPage"}],"args_string":"(page : Lucky::Paginator::CurrentPage)","args_html":"(page : Lucky::Paginator::CurrentPage)","location":{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":27,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L27"},"def":{"name":"render_page_item","args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::CurrentPage"}],"visibility":"Public","body":"li do\n a(page.number, href: page.path, class: \"pagination-link is-current\")\nend"}},{"html_id":"render_page_item(page:Lucky::Paginator::Page)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::Page"}],"args_string":"(page : Lucky::Paginator::Page)","args_html":"(page : Lucky::Paginator::Page)","location":{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":23,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L23"},"def":{"name":"render_page_item","args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::Page"}],"visibility":"Public","body":"li do\n a(page.number, href: page.path, class: \"pagination-link\")\nend"}},{"html_id":"render_page_item(gap:Lucky::Paginator::Gap)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"gap","external_name":"gap","restriction":"Lucky::Paginator::Gap"}],"args_string":"(gap : Lucky::Paginator::Gap)","args_html":"(gap : Lucky::Paginator::Gap)","location":{"filename":"src/lucky/paginator/components/bulma_nav.cr","line_number":31,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/bulma_nav.cr#L31"},"def":{"name":"render_page_item","args":[{"name":"gap","external_name":"gap","restriction":"Lucky::Paginator::Gap"}],"visibility":"Public","body":"li do\n span(class: \"pagination-ellipsis\") do\n raw(\"…\")\n end\nend"}}]},{"html_id":"lucky/Lucky/Paginator/CurrentPage","path":"Lucky/Paginator/CurrentPage.html","kind":"class","full_name":"Lucky::Paginator::CurrentPage","name":"CurrentPage","abstract":false,"superclass":{"html_id":"lucky/Lucky/Paginator/Page","kind":"class","full_name":"Lucky::Paginator::Page","name":"Page"},"ancestors":[{"html_id":"lucky/Lucky/Paginator/Page","kind":"class","full_name":"Lucky::Paginator::Page","name":"Page"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/paginator/current_page.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/current_page.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/Paginator","kind":"class","full_name":"Lucky::Paginator","name":"Paginator"}},{"html_id":"lucky/Lucky/Paginator/Page","path":"Lucky/Paginator/Page.html","kind":"class","full_name":"Lucky::Paginator::Page","name":"Page","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/paginator/page.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/page.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"subclasses":[{"html_id":"lucky/Lucky/Paginator/CurrentPage","kind":"class","full_name":"Lucky::Paginator::CurrentPage","name":"CurrentPage"}],"namespace":{"html_id":"lucky/Lucky/Paginator","kind":"class","full_name":"Lucky::Paginator","name":"Paginator"},"constructors":[{"html_id":"new(pages:Lucky::Paginator,number:Int32|Int64)-class-method","name":"new","abstract":false,"args":[{"name":"pages","external_name":"pages","restriction":"Lucky::Paginator"},{"name":"number","external_name":"number","restriction":"Int32 | Int64"}],"args_string":"(pages : Lucky::Paginator, number : Int32 | Int64)","args_html":"(pages : Lucky::Paginator, number : Int32 | Int64)","location":{"filename":"src/lucky/paginator/page.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/page.cr#L5"},"def":{"name":"new","args":[{"name":"pages","external_name":"pages","restriction":"Lucky::Paginator"},{"name":"number","external_name":"number","restriction":"Int32 | Int64"}],"visibility":"Public","body":"_ = allocate\n_.initialize(pages, number)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"==(other:self)-instance-method","name":"==","doc":"Returns `true` if this reference is the same as *other*. Invokes `same?`.","summary":"

    Returns true if this reference is the same as other.

    ","abstract":false,"args":[{"name":"other","external_name":"other","restriction":"self"}],"args_string":"(other : self)","args_html":"(other : self)","location":{"filename":"src/lucky/paginator/page.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/page.cr#L2"},"def":{"name":"==","args":[{"name":"other","external_name":"other","restriction":"self"}],"visibility":"Public","body":"if same?(other)\n return true\nend\nif number == other.number\nelse\n return false\nend\ntrue\n"}},{"html_id":"number:Int32|Int64-instance-method","name":"number","abstract":false,"location":{"filename":"src/lucky/paginator/page.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/page.cr#L3"},"def":{"name":"number","visibility":"Public","body":"@number"}},{"html_id":"path-instance-method","name":"path","abstract":false,"location":{"filename":"src/lucky/paginator/page.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/page.cr#L8"},"def":{"name":"path","visibility":"Public","body":"@pages.path_to_page(number)"}}]},{"html_id":"lucky/Lucky/Paginator/SeriesItem","path":"Lucky/Paginator/SeriesItem.html","kind":"alias","full_name":"Lucky::Paginator::SeriesItem","name":"SeriesItem","abstract":false,"locations":[{"filename":"src/lucky/paginator/paginator.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/paginator.cr#L7"}],"repository_name":"lucky","program":false,"enum":false,"alias":true,"aliased":"(Lucky::Paginator::Gap | Lucky::Paginator::Page)","aliased_html":"Lucky::Paginator::Gap | Lucky::Paginator::Page","const":false,"namespace":{"html_id":"lucky/Lucky/Paginator","kind":"class","full_name":"Lucky::Paginator","name":"Paginator"}},{"html_id":"lucky/Lucky/Paginator/SimpleNav","path":"Lucky/Paginator/SimpleNav.html","kind":"class","full_name":"Lucky::Paginator::SimpleNav","name":"SimpleNav","abstract":false,"superclass":{"html_id":"lucky/Lucky/BaseComponent","kind":"class","full_name":"Lucky::BaseComponent","name":"BaseComponent"},"ancestors":[{"html_id":"lucky/Lucky/BaseComponent","kind":"class","full_name":"Lucky::BaseComponent","name":"BaseComponent"},{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"},{"html_id":"lucky/Lucky/SvgInliner","kind":"module","full_name":"Lucky::SvgInliner","name":"SvgInliner"},{"html_id":"lucky/Lucky/LiveReloadTag","kind":"module","full_name":"Lucky::LiveReloadTag","name":"LiveReloadTag"},{"html_id":"lucky/Lucky/TagDefaults","kind":"module","full_name":"Lucky::TagDefaults","name":"TagDefaults"},{"html_id":"lucky/Lucky/RenderIfDefined","kind":"module","full_name":"Lucky::RenderIfDefined","name":"RenderIfDefined"},{"html_id":"lucky/Lucky/HelpfulParagraphError","kind":"module","full_name":"Lucky::HelpfulParagraphError","name":"HelpfulParagraphError"},{"html_id":"lucky/Lucky/MountComponent","kind":"module","full_name":"Lucky::MountComponent","name":"MountComponent"},{"html_id":"lucky/Lucky/ForgeryProtectionHelpers","kind":"module","full_name":"Lucky::ForgeryProtectionHelpers","name":"ForgeryProtectionHelpers"},{"html_id":"lucky/Lucky/TimeHelpers","kind":"module","full_name":"Lucky::TimeHelpers","name":"TimeHelpers"},{"html_id":"lucky/Lucky/UrlHelpers","kind":"module","full_name":"Lucky::UrlHelpers","name":"UrlHelpers"},{"html_id":"lucky/Lucky/HTMLTextHelpers","kind":"module","full_name":"Lucky::HTMLTextHelpers","name":"HTMLTextHelpers"},{"html_id":"lucky/Lucky/TextHelpers","kind":"module","full_name":"Lucky::TextHelpers","name":"TextHelpers"},{"html_id":"lucky/Lucky/NumberToCurrency","kind":"module","full_name":"Lucky::NumberToCurrency","name":"NumberToCurrency"},{"html_id":"lucky/Lucky/AssetHelpers","kind":"module","full_name":"Lucky::AssetHelpers","name":"AssetHelpers"},{"html_id":"lucky/Lucky/Assignable","kind":"module","full_name":"Lucky::Assignable","name":"Assignable"},{"html_id":"lucky/Lucky/SpecialtyTags","kind":"module","full_name":"Lucky::SpecialtyTags","name":"SpecialtyTags"},{"html_id":"lucky/Lucky/FormHelpers","kind":"module","full_name":"Lucky::FormHelpers","name":"FormHelpers"},{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Lucky/LinkHelpers","kind":"module","full_name":"Lucky::LinkHelpers","name":"LinkHelpers"},{"html_id":"lucky/Lucky/CustomTags","kind":"module","full_name":"Lucky::CustomTags","name":"CustomTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Lucky/BaseTags","kind":"module","full_name":"Lucky::BaseTags","name":"BaseTags"},{"html_id":"lucky/Lucky/CheckTagContent","kind":"module","full_name":"Lucky::CheckTagContent","name":"CheckTagContent"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L5"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ASSIGNS","name":"ASSIGNS","value":"[pages : Lucky::Paginator] of Nil","doc":"Pagination component with raw html and no styling\n\nTypically you would copy paste this component source into your app\nand modify it to suite your needs.","summary":"

    Pagination component with raw html and no styling

    "}],"namespace":{"html_id":"lucky/Lucky/Paginator","kind":"class","full_name":"Lucky::Paginator","name":"Paginator"},"doc":"Pagination component with raw html and no styling\n\nTypically you would copy paste this component source into your app\nand modify it to suite your needs.","summary":"

    Pagination component with raw html and no styling

    ","class_methods":[{"html_id":"file_location-class-method","name":"file_location","doc":"Returns the relative file location to the\nproject root. e.g. src/components/my_component.cr","summary":"

    Returns the relative file location to the project root.

    ","abstract":false,"location":{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L5"},"def":{"name":"file_location","visibility":"Public","body":"\"/home/runner/work/lucky/lucky/src/lucky/paginator/components/simple_nav.cr\".gsub(\"#{Dir.current}/\", \"\")"}}],"constructors":[{"html_id":"new(pages:Lucky::Paginator,**unused_exposures)-class-method","name":"new","doc":"Pagination component with raw html and no styling\n\nTypically you would copy paste this component source into your app\nand modify it to suite your needs.","summary":"

    Pagination component with raw html and no styling

    ","abstract":false,"args":[{"name":"pages","external_name":"pages","restriction":"Lucky::Paginator"}],"args_string":"(pages : Lucky::Paginator, **unused_exposures)","args_html":"(pages : Lucky::Paginator, **unused_exposures)","def":{"name":"new","args":[{"name":"pages","external_name":"pages","restriction":"Lucky::Paginator"}],"double_splat":{"name":"unused_exposures","external_name":"unused_exposures","restriction":""},"visibility":"Public","body":"_ = allocate\n_.initialize(pages, **unused_exposures)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"next_link-instance-method","name":"next_link","abstract":false,"location":{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":48,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L48"},"def":{"name":"next_link","visibility":"Public","body":"if path_to_next = @pages.path_to_next\n li do\n a(\"Next\", href: path_to_next)\n end\nelse\n li(\"Next\")\nend"}},{"html_id":"page_links-instance-method","name":"page_links","abstract":false,"location":{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":18,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L18"},"def":{"name":"page_links","visibility":"Public","body":"@pages.series(begin: 1, left_of_current: 1, right_of_current: 1, end: 1).each do |item|\n render_page_item(item)\nend"}},{"html_id":"pages:Lucky::Paginator-instance-method","name":"pages","abstract":false,"def":{"name":"pages","visibility":"Public","body":"@pages"}},{"html_id":"previous_link-instance-method","name":"previous_link","abstract":false,"location":{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":40,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L40"},"def":{"name":"previous_link","visibility":"Public","body":"if prev_path = @pages.path_to_previous\n li do\n a(\"Previous\", href: prev_path)\n end\nelse\n li(\"Previous\")\nend"}},{"html_id":"render-instance-method","name":"render","abstract":false,"location":{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L8"},"def":{"name":"render","visibility":"Public","body":"nav(aria_label: \"pagination\", role: \"navigation\") do\n ul do\n previous_link\n page_links\n next_link\n end\nend"}},{"html_id":"render_page_item(page:Lucky::Paginator::CurrentPage)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::CurrentPage"}],"args_string":"(page : Lucky::Paginator::CurrentPage)","args_html":"(page : Lucky::Paginator::CurrentPage)","location":{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":30,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L30"},"def":{"name":"render_page_item","args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::CurrentPage"}],"visibility":"Public","body":"li do\n text(page.number)\nend"}},{"html_id":"render_page_item(page:Lucky::Paginator::Page)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::Page"}],"args_string":"(page : Lucky::Paginator::Page)","args_html":"(page : Lucky::Paginator::Page)","location":{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":24,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L24"},"def":{"name":"render_page_item","args":[{"name":"page","external_name":"page","restriction":"Lucky::Paginator::Page"}],"visibility":"Public","body":"li do\n a(page.number, href: page.path)\nend"}},{"html_id":"render_page_item(gap:Lucky::Paginator::Gap)-instance-method","name":"render_page_item","abstract":false,"args":[{"name":"gap","external_name":"gap","restriction":"Lucky::Paginator::Gap"}],"args_string":"(gap : Lucky::Paginator::Gap)","args_html":"(gap : Lucky::Paginator::Gap)","location":{"filename":"src/lucky/paginator/components/simple_nav.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/paginator/components/simple_nav.cr#L36"},"def":{"name":"render_page_item","args":[{"name":"gap","external_name":"gap","restriction":"Lucky::Paginator::Gap"}],"visibility":"Public","body":"li(\"...\")"}}]}]},{"html_id":"lucky/Lucky/ParamHelpers","path":"Lucky/ParamHelpers.html","kind":"module","full_name":"Lucky::ParamHelpers","name":"ParamHelpers","abstract":false,"locations":[{"filename":"src/lucky/param_helpers.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_helpers.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/Action","kind":"class","full_name":"Lucky::Action","name":"Action"},{"html_id":"lucky/Lucky/ErrorAction","kind":"class","full_name":"Lucky::ErrorAction","name":"ErrorAction"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"params:Lucky::Params-instance-method","name":"params","doc":"Returns cached value","summary":"

    Returns cached value

    ","abstract":false,"location":{"filename":"src/lucky/param_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_helpers.cr#L2"},"def":{"name":"params","return_type":"Lucky::Params","visibility":"Public","body":"params__tuple_cached().first"}},{"html_id":"params__tuple_cached:Tuple(Lucky::Params)-instance-method","name":"params__tuple_cached","doc":"Checks the passed arguments against the memoized args\nand runs the method body if it is the very first call\nor the arguments do not match","summary":"

    Checks the passed arguments against the memoized args and runs the method body if it is the very first call or the arguments do not match

    ","abstract":false,"location":{"filename":"src/lucky/param_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_helpers.cr#L2"},"def":{"name":"params__tuple_cached","return_type":"Tuple(Lucky::Params)","visibility":"Public","body":"@__memoized_params || (@__memoized_params = (-> do\n result = params__uncached()\n {result}\nend).call.not_nil!)"}},{"html_id":"params__uncached:Lucky::Params-instance-method","name":"params__uncached","doc":"Returns uncached value","summary":"

    Returns uncached value

    ","abstract":false,"location":{"filename":"src/lucky/param_helpers.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_helpers.cr#L2"},"def":{"name":"params__uncached","return_type":"Lucky::Params","visibility":"Public","body":"context.params"}}]},{"html_id":"lucky/Lucky/ParamParser","path":"Lucky/ParamParser.html","kind":"module","full_name":"Lucky::ParamParser","name":"ParamParser","abstract":false,"locations":[{"filename":"src/lucky/param_parser.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"TIME_FORMATS","name":"TIME_FORMATS","value":"[Time::Format::ISO_8601_DATE_TIME, Time::Format::RFC_2822, Time::Format::RFC_3339, Time::Format.new(\"%Y-%m-%dT%H:%M:%S\", Time::Location::UTC), Time::Format.new(\"%Y-%m-%dT%H:%M\", Time::Location::UTC), Time::Format::HTTP_DATE, Time::Format::ISO_8601_DATE, Time::Format::ISO_8601_TIME]"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"parse(param:String,klass:String.class):String-class-method","name":"parse","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"String.class"}],"args_string":"(param : String, klass : String.class) : String","args_html":"(param : String, klass : String.class) : String","location":{"filename":"src/lucky/param_parser.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L17"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"String.class"}],"return_type":"String","visibility":"Public","body":"param"}},{"html_id":"parse(param:String,klass:Int16.class):Int16|Nil-class-method","name":"parse","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Int16.class"}],"args_string":"(param : String, klass : Int16.class) : Int16 | Nil","args_html":"(param : String, klass : Int16.class) : Int16 | Nil","location":{"filename":"src/lucky/param_parser.cr","line_number":21,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L21"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Int16.class"}],"return_type":"Int16 | ::Nil","visibility":"Public","body":"param.to_i16?"}},{"html_id":"parse(param:String,klass:Int32.class):Int32|Nil-class-method","name":"parse","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Int32.class"}],"args_string":"(param : String, klass : Int32.class) : Int32 | Nil","args_html":"(param : String, klass : Int32.class) : Int32 | Nil","location":{"filename":"src/lucky/param_parser.cr","line_number":25,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L25"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Int32.class"}],"return_type":"Int32 | ::Nil","visibility":"Public","body":"param.to_i?"}},{"html_id":"parse(param:String,klass:Int64.class):Int64|Nil-class-method","name":"parse","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Int64.class"}],"args_string":"(param : String, klass : Int64.class) : Int64 | Nil","args_html":"(param : String, klass : Int64.class) : Int64 | Nil","location":{"filename":"src/lucky/param_parser.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L29"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Int64.class"}],"return_type":"Int64 | ::Nil","visibility":"Public","body":"param.to_i64?"}},{"html_id":"parse(param:String,klass:Float64.class):Float64|Nil-class-method","name":"parse","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Float64.class"}],"args_string":"(param : String, klass : Float64.class) : Float64 | Nil","args_html":"(param : String, klass : Float64.class) : Float64 | Nil","location":{"filename":"src/lucky/param_parser.cr","line_number":33,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L33"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Float64.class"}],"return_type":"Float64 | ::Nil","visibility":"Public","body":"param.to_f?"}},{"html_id":"parse(param:String,klass:Bool.class):Bool|Nil-class-method","name":"parse","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Bool.class"}],"args_string":"(param : String, klass : Bool.class) : Bool | Nil","args_html":"(param : String, klass : Bool.class) : Bool | Nil","location":{"filename":"src/lucky/param_parser.cr","line_number":37,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L37"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Bool.class"}],"return_type":"Bool | ::Nil","visibility":"Public","body":"if ([\"true\", \"1\"] of ::String).includes?(param)\n true\nelse\n if ([\"false\", \"0\"] of ::String).includes?(param)\n false\n else\n nil\n end\nend"}},{"html_id":"parse(param:String,klass:UUID.class):UUID|Nil-class-method","name":"parse","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"UUID.class"}],"args_string":"(param : String, klass : UUID.class) : UUID | Nil","args_html":"(param : String, klass : UUID.class) : UUID | Nil","location":{"filename":"src/lucky/param_parser.cr","line_number":47,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L47"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"UUID.class"}],"return_type":"UUID | ::Nil","visibility":"Public","body":"begin\n UUID.new(param)\nrescue\n nil\nend"}},{"html_id":"parse(param:String,klass:Time.class):Time|Nil-class-method","name":"parse","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Time.class"}],"args_string":"(param : String, klass : Time.class) : Time | Nil","args_html":"(param : String, klass : Time.class) : Time | Nil","location":{"filename":"src/lucky/param_parser.cr","line_number":53,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L53"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"String"},{"name":"klass","external_name":"klass","restriction":"Time.class"}],"return_type":"Time | ::Nil","visibility":"Public","body":"TIME_FORMATS.each do |format|\n begin\n parsed = format.parse(param)\n if parsed\n return parsed\n end\n rescue e : Time::Format::Error\n nil\n end\nend"}},{"html_id":"parse(param:Array(String),klass:Array(T).class):Array(T)|NilforallT-class-method","name":"parse","doc":"Returns `Array(T)` if all params in `param` are properly cast","summary":"

    Returns Array(T) if all params in param are properly cast

    ","abstract":false,"args":[{"name":"param","external_name":"param","restriction":"Array(String)"},{"name":"klass","external_name":"klass","restriction":"Array(T).class"}],"args_string":"(param : Array(String), klass : Array(T).class) : Array(T) | Nil forall T","args_html":"(param : Array(String), klass : Array(T).class) : Array(T) | Nil forall T","location":{"filename":"src/lucky/param_parser.cr","line_number":65,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/param_parser.cr#L65"},"def":{"name":"parse","args":[{"name":"param","external_name":"param","restriction":"Array(String)"},{"name":"klass","external_name":"klass","restriction":"Array(T).class"}],"return_type":"Array(T) | ::Nil","visibility":"Public","body":"casts = param.compact_map do |val|\n parse(val, T)\nend\ncasts.size == param.size ? casts.as(Array(T)) : nil\n"}}]},{"html_id":"lucky/Lucky/ParamParsingError","path":"Lucky/ParamParsingError.html","kind":"class","full_name":"Lucky::ParamParsingError","name":"ParamParsingError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"},{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L17"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/Lucky/RenderableError","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(request:HTTP::Request)-class-method","name":"new","abstract":false,"args":[{"name":"request","external_name":"request","restriction":"HTTP::Request"}],"args_string":"(request : HTTP::Request)","args_html":"(request : HTTP::Request)","location":{"filename":"src/lucky/errors.cr","line_number":22,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L22"},"def":{"name":"new","args":[{"name":"request","external_name":"request","restriction":"HTTP::Request"}],"visibility":"Public","body":"_ = allocate\n_.initialize(request)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"renderable_message:String-instance-method","name":"renderable_message","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":30,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L30"},"def":{"name":"renderable_message","return_type":"String","visibility":"Public","body":"\"There was a problem parsing the JSON params. Please check that it is formed correctly.\""}},{"html_id":"renderable_status:Int32-instance-method","name":"renderable_status","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":26,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L26"},"def":{"name":"renderable_status","return_type":"Int32","visibility":"Public","body":"400"}},{"html_id":"request:HTTP::Request-instance-method","name":"request","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":20,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L20"},"def":{"name":"request","visibility":"Public","body":"@request"}}]},{"html_id":"lucky/Lucky/Params","path":"Lucky/Params.html","kind":"class","full_name":"Lucky::Params","name":"Params","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/params.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(request:HTTP::Request,route_params:Hash(String,String)=empty_params)-class-method","name":"new","doc":"Create a new params object\n\nThe params object is initialized with an `HTTP::Request` and a hash of\nparams. The request object has many optional parameters. See Crystal's\n[HTTP::Request](https://crystal-lang.org/api/latest/HTTP/Request.html)\nclass for more details.\n\n```\nrequest = HTTP::Request.new(\"GET\", \"/\")\nroute_params = {\"token\" => \"123\"}\n\nLucky::Params.new(request, route_params)\n```","summary":"

    Create a new params object

    ","abstract":false,"args":[{"name":"request","external_name":"request","restriction":"HTTP::Request"},{"name":"route_params","default_value":"empty_params","external_name":"route_params","restriction":"Hash(String, String)"}],"args_string":"(request : HTTP::Request, route_params : Hash(String, String) = empty_params)","args_html":"(request : HTTP::Request, route_params : Hash(String, String) = empty_params)","location":{"filename":"src/lucky/params.cr","line_number":21,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L21"},"def":{"name":"new","args":[{"name":"request","external_name":"request","restriction":"HTTP::Request"},{"name":"route_params","default_value":"empty_params","external_name":"route_params","restriction":"Hash(String, String)"}],"visibility":"Public","body":"_ = allocate\n_.initialize(request, route_params)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"body:String-instance-method","name":"body","doc":"Returns cached value","summary":"

    Returns cached value

    ","abstract":false,"location":{"filename":"src/lucky/params.cr","line_number":626,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L626"},"def":{"name":"body","return_type":"String","visibility":"Public","body":"body__tuple_cached().first"}},{"html_id":"body__tuple_cached:Tuple(String)-instance-method","name":"body__tuple_cached","doc":"Checks the passed arguments against the memoized args\nand runs the method body if it is the very first call\nor the arguments do not match","summary":"

    Checks the passed arguments against the memoized args and runs the method body if it is the very first call or the arguments do not match

    ","abstract":false,"location":{"filename":"src/lucky/params.cr","line_number":626,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L626"},"def":{"name":"body__tuple_cached","return_type":"Tuple(String)","visibility":"Public","body":"@__memoized_body || (@__memoized_body = (-> do\n result = body__uncached()\n {result}\nend).call.not_nil!)"}},{"html_id":"body__uncached:String-instance-method","name":"body__uncached","doc":"Returns uncached value","summary":"

    Returns uncached value

    ","abstract":false,"location":{"filename":"src/lucky/params.cr","line_number":626,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L626"},"def":{"name":"body__uncached","return_type":"String","visibility":"Public","body":"(Lucky::RequestBodyReader.new(request)).body"}},{"html_id":"from_form_data:URI::Params-instance-method","name":"from_form_data","doc":"Returns x-www-form-urlencoded body params as `URI::Params`\n\nReturns a `URI::Params` object for the request body. This method is rarely\nhelpful since you can get query params with `get`, but if you do need raw\naccess to the body params this is the way to get them.\n\n```\nparams.from_form_data[\"name\"]\n```\n\nSee the docs on [`URI::Params`](https://crystal-lang.org/api/URI/Params.html) for more information.","summary":"

    Returns x-www-form-urlencoded body params as URI::Params

    ","abstract":false,"location":{"filename":"src/lucky/params.cr","line_number":70,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L70"},"def":{"name":"from_form_data","return_type":"URI::Params","visibility":"Public","body":"form_params"}},{"html_id":"from_json:JSON::Any-instance-method","name":"from_json","doc":"Parses the request body as `JSON::Any` or raises `Lucky::ParamParsingError` if JSON is invalid.\n\n```\n# {\"page\": 1}\nparams.from_json[\"page\"].as_i # 1\n# {\"users\": [{\"name\": \"Skyler\"}]}\nparams.from_json[\"users\"][0][\"name\"].as_s # \"Skyler\"\n```\n\nSee the crystal docs on\n[`JSON::Any`](https://crystal-lang.org/api/JSON/Any.html) for more on using\nJSON in Crystal.\n\n> You can also get JSON params with `Lucky::Params#get/nested`. Sometimes\n> `Lucky::Params` are not flexible enough. In those cases this method opens\n> the possiblity to do just about anything with JSON.","summary":"

    Parses the request body as JSON::Any or raises Lucky::ParamParsingError if JSON is invalid.

    ","abstract":false,"location":{"filename":"src/lucky/params.cr","line_number":40,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L40"},"def":{"name":"from_json","return_type":"JSON::Any","visibility":"Public","body":"parsed_json"}},{"html_id":"from_multipart:Tuple(Hash(String,String),Hash(String,Lucky::UploadedFile))-instance-method","name":"from_multipart","doc":"Returns multipart params and files.\n\nReturn a Tuple with a hash of params and a hash of `Lucky::UploadedFile`.\nThis method is rarely helpful since you can get params with `get` and files\nwith `get_file`, but if you need something more custom you can use this method\nto get better access to the raw params.\n\n```\nform_params = params.from_multipart.last # Hash(String, String)\nform_params[\"name\"] # \"Kyle\"\n\nfiles = params.from_multipart.last # Hash(String, Lucky::UploadedFile)\nfiles[\"avatar\"] # Lucky::UploadedFile\n```","summary":"

    Returns multipart params and files.

    ","abstract":false,"location":{"filename":"src/lucky/params.cr","line_number":88,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L88"},"def":{"name":"from_multipart","return_type":"Tuple(Hash(String, String), Hash(String, Lucky::UploadedFile))","visibility":"Public","body":"form_data = parse_form_data\n{form_data.params.to_h, form_data.files.to_h}\n"}},{"html_id":"from_query:URI::Params-instance-method","name":"from_query","doc":"Returns just the query params as `URI::Params`\n\nReturns a `URI::Params` object for only the query params. This method is rarely\nhelpful since you can get query params with `get`, but if you do need raw\naccess to the query params this is the way to get them.\n\n```\nparams.from_query[\"search\"] # Will return the \"search\" query param\n```\n\nSee the docs on [`HTTP::Params`](https://crystal-lang.org/api/HTTP/Params.html) for more information.","summary":"

    Returns just the query params as URI::Params

    ","abstract":false,"location":{"filename":"src/lucky/params.cr","line_number":55,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L55"},"def":{"name":"from_query","return_type":"URI::Params","visibility":"Public","body":"request.query_params"}},{"html_id":"get(key):String-instance-method","name":"get","doc":"Retrieve a trimmed value from the params hash, raise if key is absent\n\nIf no key is found a `Lucky::MissingParamError` will be raised:\n\n```\nparams.get(\"name\") # \"Paul\" : String\nparams.get(\"page\") # \"1\" : String\nparams.get(\"missing\") # Missing parameter: missing\n```","summary":"

    Retrieve a trimmed value from the params hash, raise if key is absent

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":""}],"args_string":"(key) : String","args_html":"(key) : String","location":{"filename":"src/lucky/params.cr","line_number":102,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L102"},"def":{"name":"get","args":[{"name":"key","external_name":"key","restriction":""}],"return_type":"String","visibility":"Public","body":"(get_raw(key)).strip"}},{"html_id":"get?(key:String|Symbol):String|Nil-instance-method","name":"get?","doc":"Retrieve a trimmed value from the params hash, return nil if key is absent\n\n```\nparams.get?(\"missing\") # nil : (String | Nil)\nparams.get?(\"page\") # \"1\" : (String | Nil)\nparams.get?(\"name\") # \"Paul\" : (String | Nil)\n```","summary":"

    Retrieve a trimmed value from the params hash, return nil if key is absent

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : String | Nil","args_html":"(key : String | Symbol) : String | Nil","location":{"filename":"src/lucky/params.cr","line_number":113,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L113"},"def":{"name":"get?","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"String | ::Nil","visibility":"Public","body":"if value = get_raw?(key)\n value.strip\nend"}},{"html_id":"get_all(key:String|Symbol):Array(String)-instance-method","name":"get_all","doc":"Retrieve values for a given key\n\nChecks in places that could provide multiple values and returns first with values:\n- JSON body\n- multipart params\n- form encoded params\n- query params\n\nFor all params locations it appends square brackets\nso searching for \"emails\" in query params will look for values with a key of \"emails[]\"\n\nIf no key is found a `Lucky::MissingParamError` will be raised\n\n```\nparams.get_all(:names) # [\"Paul\", \"Johnny\"] : Array(String)\nparams.get_all(\"missing\") # Missing parameter: missing\n```","summary":"

    Retrieve values for a given key

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : Array(String)","args_html":"(key : String | Symbol) : Array(String)","location":{"filename":"src/lucky/params.cr","line_number":161,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L161"},"def":{"name":"get_all","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"Array(String)","visibility":"Public","body":"(get_all?(key)) || (raise(Lucky::MissingParamError.new(key.to_s)))"}},{"html_id":"get_all?(key:String|Symbol):Array(String)|Nil-instance-method","name":"get_all?","doc":"Retrieve values for a given key, return nil if key is absent\n\n```\nparams.get_all(:names) # [\"Paul\", \"Johnny\"] : (Array(String) | Nil)\nparams.get_all(\"missing\") # nil : (Array(String) | Nil)\n```","summary":"

    Retrieve values for a given key, return nil if key is absent

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : Array(String) | Nil","args_html":"(key : String | Symbol) : Array(String) | Nil","location":{"filename":"src/lucky/params.cr","line_number":171,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L171"},"def":{"name":"get_all?","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"Array(String) | ::Nil","visibility":"Public","body":"key = key.to_s\nbody_values = if json?\n get_all_json(key)\nelse\n if multipart?\n get_all_params(multipart_params, key)\n else\n get_all_params(form_params, key)\n end\nend\nbody_values || (get_all_params(query_params, key))\n"}},{"html_id":"get_all_files(key:String|Symbol):Array(Lucky::UploadedFile)-instance-method","name":"get_all_files","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : Array(Lucky::UploadedFile)","args_html":"(key : String | Symbol) : Array(Lucky::UploadedFile)","location":{"filename":"src/lucky/params.cr","line_number":215,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L215"},"def":{"name":"get_all_files","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"Array(Lucky::UploadedFile)","visibility":"Public","body":"(get_all_files?(key)) || (raise(Lucky::MissingParamError.new(key.to_s)))"}},{"html_id":"get_all_files?(key:String|Symbol):Array(Lucky::UploadedFile)-instance-method","name":"get_all_files?","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : Array(Lucky::UploadedFile)","args_html":"(key : String | Symbol) : Array(Lucky::UploadedFile)","location":{"filename":"src/lucky/params.cr","line_number":219,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L219"},"def":{"name":"get_all_files?","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"Array(Lucky::UploadedFile)","visibility":"Public","body":"multipart_files.fetch_all(key.to_s)"}},{"html_id":"get_file(key):Lucky::UploadedFile-instance-method","name":"get_file","doc":"Retrieve a file from the params hash, raise if key is absent\n\nIf no key is found a `Lucky::MissingParamError` will be raised:\n\n```\nparams.get_file(\"missing\") # Raise: Missing parameter: missing\n\nfile = params.get_file(\"avatar_file\") # Lucky::UploadedFile\nfile.name # avatar.png\nfile.metadata # HTTP::FormData::FileMetadata\nfile.tempfile.read # Get the file contents\n```","summary":"

    Retrieve a file from the params hash, raise if key is absent

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":""}],"args_string":"(key) : Lucky::UploadedFile","args_html":"(key) : Lucky::UploadedFile","location":{"filename":"src/lucky/params.cr","line_number":197,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L197"},"def":{"name":"get_file","args":[{"name":"key","external_name":"key","restriction":""}],"return_type":"Lucky::UploadedFile","visibility":"Public","body":"(get_file?(key)) || (raise(Lucky::MissingParamError.new(key.to_s)))"}},{"html_id":"get_file?(key:String|Symbol):Lucky::UploadedFile|Nil-instance-method","name":"get_file?","doc":"Retrieve a file from the params hash, return nil if key is absent\n\n```\nparams.get_file?(\"missing\") # nil\n\nfile = params.get_file?(\"avatar_file\") # Lucky::UploadedFile\nfile.not_nil!.name # avatar.png\nfile.not_nil!.metadata # HTTP::FormData::FileMetadata\nfile.not_nil!.tempfile.read # Get the file contents\n```","summary":"

    Retrieve a file from the params hash, return nil if key is absent

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : Lucky::UploadedFile | Nil","args_html":"(key : String | Symbol) : Lucky::UploadedFile | Nil","location":{"filename":"src/lucky/params.cr","line_number":211,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L211"},"def":{"name":"get_file?","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"Lucky::UploadedFile | ::Nil","visibility":"Public","body":"multipart_files[key.to_s]?"}},{"html_id":"get_raw(key):String-instance-method","name":"get_raw","doc":"Retrieve a raw, untrimmed value from the params hash, raise if key is absent\n\nIf no key is found a `Lucky::MissingParamError` will be raised:\n\n```\nparams.get_raw(\"name\") # \" Paul \" : String\nparams.get_raw(\"page\") # \"1\" : String\nparams.get_raw(\"missing\") # Missing parameter: missing\n```","summary":"

    Retrieve a raw, untrimmed value from the params hash, raise if key is absent

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":""}],"args_string":"(key) : String","args_html":"(key) : String","location":{"filename":"src/lucky/params.cr","line_number":128,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L128"},"def":{"name":"get_raw","args":[{"name":"key","external_name":"key","restriction":""}],"return_type":"String","visibility":"Public","body":"(get_raw?(key)) || (raise(Lucky::MissingParamError.new(key.to_s)))"}},{"html_id":"get_raw?(key:String|Symbol):String|Nil-instance-method","name":"get_raw?","doc":"Retrieve a raw, untrimmed value from the params hash, return nil if key is\nabsent\n\n```\nparams.get_raw?(\"missing\") # nil : (String | Nil)\nparams.get_raw?(\"page\") # \"1\" : (String | Nil)\nparams.get_raw?(\"name\") # \" Paul \" : (String | Nil)\n```","summary":"

    Retrieve a raw, untrimmed value from the params hash, return nil if key is absent

    ","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"args_string":"(key : String | Symbol) : String | Nil","args_html":"(key : String | Symbol) : String | Nil","location":{"filename":"src/lucky/params.cr","line_number":140,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L140"},"def":{"name":"get_raw?","args":[{"name":"key","external_name":"key","restriction":"String | Symbol"}],"return_type":"String | ::Nil","visibility":"Public","body":"(route_params[key.to_s]? || (body_param(key.to_s))) || query_params[key.to_s]?"}},{"html_id":"many_nested(nested_key:String|Symbol):Array(Hash(String,String))-instance-method","name":"many_nested","doc":"Retrieve nested values from the params\n\nNested params often appear in JSON requests or Form submissions. If no key\nis found a `Lucky::MissingParamError` will be raised:\n\n```\nbody = \"users[0]:name=Alesia&users[0]:age=35&users[1]:name=Bob&users[1]:age=40&page=1\"\nrequest = HTTP::Request.new(\"POST\", \"/\", body: body)\nparams = Lucky::Params.new(request)\n\nparams.many_nested(\"users\")\n# [{\"name\" => \"Alesia\", \"age\" => \"35\"}, { \"name\" => \"Bob\", \"age\" => \"40\" }]\nparams.many_nested(\"missing\") # Missing parameter: missing\n```","summary":"

    Retrieve nested values from the params

    ","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Array(Hash(String, String))","args_html":"(nested_key : String | Symbol) : Array(Hash(String, String))","location":{"filename":"src/lucky/params.cr","line_number":354,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L354"},"def":{"name":"many_nested","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Array(Hash(String, String))","visibility":"Public","body":"nested_params = many_nested?(nested_key)\nif nested_params.empty?\n raise(Lucky::MissingNestedParamError.new(nested_key))\nelse\n nested_params\nend\n"}},{"html_id":"many_nested?(nested_key:String|Symbol):Array(Hash(String,String))-instance-method","name":"many_nested?","doc":"Retrieve nested values from the params\n\nNested params often appear in JSON requests or Form submissions. If no key\nis found an empty array will be returned:\n\n```\nbody = \"users[0]:name=Alesia&users[0]:age=35&users[1]:name=Bob&users[1]:age=40&page=1\"\nrequest = HTTP::Request.new(\"POST\", \"/\", body: body)\nparams = Lucky::Params.new(request)\n\nparams.nested(\"users\")\n# [{\"name\" => \"Alesia\", \"age\" => \"35\"}, { \"name\" => \"Bob\", \"age\" => \"40\" }]\nparams.nested(\"missing\") # []\n```","summary":"

    Retrieve nested values from the params

    ","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Array(Hash(String, String))","args_html":"(nested_key : String | Symbol) : Array(Hash(String, String))","location":{"filename":"src/lucky/params.cr","line_number":377,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L377"},"def":{"name":"many_nested?","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Array(Hash(String, String))","visibility":"Public","body":"(zipped_many_nested_params(nested_key.to_s)).map do |a, b|\n (a || ({} of String => String)).merge(b || ({} of String => String))\nend"}},{"html_id":"nested(nested_key:String|Symbol):Hash(String,String)-instance-method","name":"nested","doc":"Retrieve a nested value from the params\n\nNested params often appear in JSON requests or Form submissions. If no key\nis found a `Lucky::MissingParamError` will be raised:\n\n```\nbody = \"user:name=Alesia&user:age=35&page=1\"\nrequest = HTTP::Request.new(\"POST\", \"/\", body: body)\nparams = Lucky::Params.new(request)\n\nparams.nested(\"user\") # {\"name\" => \"Alesia\", \"age\" => \"35\"}\nparams.nested(\"missing\") # Missing parameter: missing\n```","summary":"

    Retrieve a nested value from the params

    ","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Hash(String, String)","args_html":"(nested_key : String | Symbol) : Hash(String, String)","location":{"filename":"src/lucky/params.cr","line_number":236,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L236"},"def":{"name":"nested","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Hash(String, String)","visibility":"Public","body":"nested_params = nested?(nested_key)\nif nested_params.keys.empty?\n raise(Lucky::MissingNestedParamError.new(nested_key))\nelse\n nested_params\nend\n"}},{"html_id":"nested?(nested_key:String|Symbol):Hash(String,String)-instance-method","name":"nested?","doc":"Retrieve a nested value from the params\n\nNested params often appear in JSON requests or Form submissions. If no key\nis found an empty hash will be returned:\n\n```\nbody = \"user:name=Alesia&user:age=35&page=1\"\nrequest = HTTP::Request.new(\"POST\", \"/\", body: body)\nparams = Lucky::Params.new(request)\n\nparams.nested(\"user\") # {\"name\" => \"Alesia\", \"age\" => \"35\"}\nparams.nested(\"missing\") # {}\n```","summary":"

    Retrieve a nested value from the params

    ","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Hash(String, String)","args_html":"(nested_key : String | Symbol) : Hash(String, String)","location":{"filename":"src/lucky/params.cr","line_number":258,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L258"},"def":{"name":"nested?","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Hash(String, String)","visibility":"Public","body":"if json?\n (nested_json_params(nested_key.to_s)).merge(nested_query_params(nested_key.to_s))\nelse\n (nested_form_params(nested_key.to_s)).merge(nested_query_params(nested_key.to_s))\nend"}},{"html_id":"nested_array_files(nested_key:String|Symbol):Hash(String,Array(Lucky::UploadedFile))-instance-method","name":"nested_array_files","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Hash(String, Array(Lucky::UploadedFile))","args_html":"(nested_key : String | Symbol) : Hash(String, Array(Lucky::UploadedFile))","location":{"filename":"src/lucky/params.cr","line_number":327,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L327"},"def":{"name":"nested_array_files","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Hash(String, Array(Lucky::UploadedFile))","visibility":"Public","body":"nested_file_params = nested_array_files?(nested_key)\nif nested_file_params.keys.empty?\n raise(Lucky::MissingNestedParamError.new(nested_key))\nelse\n nested_file_params\nend\n"}},{"html_id":"nested_array_files?(nested_key:String|Symbol):Hash(String,Array(Lucky::UploadedFile))|Nil-instance-method","name":"nested_array_files?","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Hash(String, Array(Lucky::UploadedFile)) | Nil","args_html":"(nested_key : String | Symbol) : Hash(String, Array(Lucky::UploadedFile)) | Nil","location":{"filename":"src/lucky/params.cr","line_number":336,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L336"},"def":{"name":"nested_array_files?","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Hash(String, Array(Lucky::UploadedFile)) | ::Nil","visibility":"Public","body":"nested_array_file_params(nested_key.to_s)"}},{"html_id":"nested_arrays(nested_key:String|Symbol):Hash(String,Array(String))-instance-method","name":"nested_arrays","doc":"Retrieve a nested array from the params\n\nNested params often appear in JSON requests or Form submissions. If no key\nis found a `Lucky::MissingParamError` will be raised:\n\n```\nparams.nested_array(\"tags\") # {\"tags\" => [\"Lucky\", \"Crystal\"]}\nparams.nested_array(\"missing\") # Missing parameter: missing\n```","summary":"

    Retrieve a nested array from the params

    ","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Hash(String, Array(String))","args_html":"(nested_key : String | Symbol) : Hash(String, Array(String))","location":{"filename":"src/lucky/params.cr","line_number":275,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L275"},"def":{"name":"nested_arrays","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Hash(String, Array(String))","visibility":"Public","body":"nested_params = nested_arrays?(nested_key)\nif nested_params.keys.empty?\n raise(Lucky::MissingNestedParamError.new(nested_key))\nelse\n nested_params\nend\n"}},{"html_id":"nested_arrays?(nested_key:String|Symbol):Hash(String,Array(String))-instance-method","name":"nested_arrays?","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Hash(String, Array(String))","args_html":"(nested_key : String | Symbol) : Hash(String, Array(String))","location":{"filename":"src/lucky/params.cr","line_number":284,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L284"},"def":{"name":"nested_arrays?","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Hash(String, Array(String))","visibility":"Public","body":"if json?\n (nested_array_json_params(nested_key.to_s)).merge(nested_array_query_params(nested_key.to_s)) do |_k, v1, v2|\n v1 + v2\n end\nelse\n (nested_array_form_params(nested_key.to_s)).merge(nested_array_query_params(nested_key.to_s)) do |_k, v1, v2|\n v1 + v2\n end\nend"}},{"html_id":"nested_file(nested_key:String|Symbol):Hash(String,Lucky::UploadedFile)-instance-method","name":"nested_file","doc":"Retrieve a nested file from the params\n\nNested params often appear in JSON requests or Form submissions. If no key\nis found a `Lucky::MissingParamError` will be raised:\n\n```\nparams.nested_file?(\"file\") # Lucky::UploadedFile\nparams.nested_file?(\"missing\") # {}\n```","summary":"

    Retrieve a nested file from the params

    ","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Hash(String, Lucky::UploadedFile)","args_html":"(nested_key : String | Symbol) : Hash(String, Lucky::UploadedFile)","location":{"filename":"src/lucky/params.cr","line_number":305,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L305"},"def":{"name":"nested_file","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Hash(String, Lucky::UploadedFile)","visibility":"Public","body":"nested_file_params = nested_file?(nested_key)\nif nested_file_params.keys.empty?\n raise(Lucky::MissingNestedParamError.new(nested_key))\nelse\n nested_file_params\nend\n"}},{"html_id":"nested_file?(nested_key:String|Symbol):Hash(String,Lucky::UploadedFile)|Nil-instance-method","name":"nested_file?","doc":"Retrieve a nested file from the params\n\nNested params often appear in JSON requests or Form submissions. If no key\nis found an empty hash will be returned:\n\n```\nparams.nested_file(\"file\") # Lucky::UploadedFile\nparams.nested_file(\"missing\") # Missing parameter: missing\n```","summary":"

    Retrieve a nested file from the params

    ","abstract":false,"args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"args_string":"(nested_key : String | Symbol) : Hash(String, Lucky::UploadedFile) | Nil","args_html":"(nested_key : String | Symbol) : Hash(String, Lucky::UploadedFile) | Nil","location":{"filename":"src/lucky/params.cr","line_number":323,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L323"},"def":{"name":"nested_file?","args":[{"name":"nested_key","external_name":"nested_key","restriction":"String | Symbol"}],"return_type":"Hash(String, Lucky::UploadedFile) | ::Nil","visibility":"Public","body":"nested_file_params(nested_key.to_s)"}},{"html_id":"route_params=(route_params:Hash(String,String))-instance-method","name":"route_params=","abstract":false,"args":[{"name":"route_params","external_name":"route_params","restriction":"::Hash(::String, ::String)"}],"args_string":"(route_params : Hash(String, String))","args_html":"(route_params : Hash(String, String))","location":{"filename":"src/lucky/params.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L6"},"def":{"name":"route_params=","args":[{"name":"route_params","external_name":"route_params","restriction":"::Hash(::String, ::String)"}],"visibility":"Public","body":"@route_params = route_params"}},{"html_id":"to_h-instance-method","name":"to_h","doc":"Converts the params in to a `Hash(String, String)`\n\n```\nrequest.query = \"filter:name=trombone&page=1&per=50\"\nparams = Lucky::Params.new(request)\nparams.to_h # {\"filter\" => {\"name\" => \"trombone\"}, \"page\" => \"1\", \"per\" => \"50\"}\n```","summary":"

    Converts the params in to a Hash(String, String)

    ","abstract":false,"location":{"filename":"src/lucky/params.cr","line_number":390,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/params.cr#L390"},"def":{"name":"to_h","visibility":"Public","body":"if json?\n parsed_json.as_h.merge(query_params.to_h)\nelse\n hash = {} of String => String | Hash(String, String)\n params = body_params.to_h.merge(query_params.to_h)\n params.map do |key, value|\n keys = key.split(':')\n is_nested = keys.size > 1\n if is_nested\n hash[keys.first] = nested(keys.first)\n else\n hash[key] = value.as(String)\n end\n end\n hash\nend"}}]},{"html_id":"lucky/Lucky/PrettyLogFormatter","path":"Lucky/PrettyLogFormatter.html","kind":"struct","full_name":"Lucky::PrettyLogFormatter","name":"PrettyLogFormatter","abstract":false,"superclass":{"html_id":"lucky/Dexter/BaseFormatter","kind":"struct","full_name":"Dexter::BaseFormatter","name":"BaseFormatter"},"ancestors":[{"html_id":"lucky/Dexter/BaseFormatter","kind":"struct","full_name":"Dexter::BaseFormatter","name":"BaseFormatter"},{"html_id":"lucky/Struct","kind":"struct","full_name":"Struct","name":"Struct"},{"html_id":"lucky/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/pretty_log_formatter.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/pretty_log_formatter.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ENTRY_FORMATTERS","name":"ENTRY_FORMATTERS","value":"[RequestStartedFormatter, RequestEndedFormatter, ExceptionFormatter, AnyOtherDataFormatter]"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"call:Nil-instance-method","name":"call","abstract":false,"location":{"filename":"src/lucky/pretty_log_formatter.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/pretty_log_formatter.cr#L9"},"def":{"name":"call","return_type":"Nil","visibility":"Public","body":"ENTRY_FORMATTERS.each do |entry_formatter|\n formatter = entry_formatter.new(io, entry)\n if formatter.should_format?\n formatter.write\n break\n end\nend"}}]},{"html_id":"lucky/Lucky/ProtectFromForgery","path":"Lucky/ProtectFromForgery.html","kind":"module","full_name":"Lucky::ProtectFromForgery","name":"ProtectFromForgery","abstract":false,"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"locations":[{"filename":"src/lucky/protect_from_forgery.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/protect_from_forgery.cr#L5"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"ALLOWED_METHODS","name":"ALLOWED_METHODS","value":"[\"GET\", \"HEAD\", \"OPTIONS\", \"TRACE\"] of ::String"},{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: allow_forgery_protection : Bool = true, example: nil, validation: nil}] of Nil"},{"id":"PARAM_KEY","name":"PARAM_KEY","value":"\"_csrf\""},{"id":"SESSION_KEY","name":"SESSION_KEY","value":"\"X-CSRF-TOKEN\""}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Protect from CSRF attacks\n\nThis module is automatically included in `BrowserAction` to protect from CSRF\nattacks.","summary":"

    Protect from CSRF attacks

    ","class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/protect_from_forgery.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/protect_from_forgery.cr#L14"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/protect_from_forgery.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/protect_from_forgery.cr#L14"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/protect_from_forgery.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/protect_from_forgery.cr#L14"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"types":[{"html_id":"lucky/Lucky/ProtectFromForgery/HabitatSettings","path":"Lucky/ProtectFromForgery/HabitatSettings.html","kind":"class","full_name":"Lucky::ProtectFromForgery::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/protect_from_forgery.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/protect_from_forgery.cr#L14"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/ProtectFromForgery","kind":"module","full_name":"Lucky::ProtectFromForgery","name":"ProtectFromForgery"},"class_methods":[{"html_id":"allow_forgery_protection:Bool-class-method","name":"allow_forgery_protection","abstract":false,"def":{"name":"allow_forgery_protection","return_type":"Bool","visibility":"Public","body":"@@allow_forgery_protection.not_nil!"}},{"html_id":"allow_forgery_protection=(value:Bool)-class-method","name":"allow_forgery_protection=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Bool"}],"args_string":"(value : Bool)","args_html":"(value : Bool)","def":{"name":"allow_forgery_protection=","args":[{"name":"value","external_name":"value","restriction":"Bool"}],"visibility":"Public","body":"@@allow_forgery_protection = value"}},{"html_id":"allow_forgery_protection?-class-method","name":"allow_forgery_protection?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use allow_forgery_protection in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use allow_forgery_protection in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"allow_forgery_protection?","visibility":"Public","body":"@@allow_forgery_protection"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"allow_forgery_protection\" => allow_forgery_protection}"}}]}]},{"html_id":"lucky/Lucky/QuickDef","path":"Lucky/QuickDef.html","kind":"module","full_name":"Lucky::QuickDef","name":"QuickDef","abstract":false,"locations":[{"filename":"src/lucky/quick_def.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/quick_def.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"macros":[{"html_id":"quick_def(method_name,value)-macro","name":"quick_def","doc":"Quickly create a method with a simple return value\n\n```\n# Instead of:\ndef name\n \"Kylo\"\nend\n\n# You could use quick_def:\nquick_def :name, \"Kylo\"\n```","summary":"

    Quickly create a method with a simple return value

    ","abstract":false,"args":[{"name":"method_name","external_name":"method_name","restriction":""},{"name":"value","external_name":"value","restriction":""}],"args_string":"(method_name, value)","args_html":"(method_name, value)","location":{"filename":"src/lucky/quick_def.cr","line_number":13,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/quick_def.cr#L13"},"def":{"name":"quick_def","args":[{"name":"method_name","external_name":"method_name","restriction":""},{"name":"value","external_name":"value","restriction":""}],"visibility":"Public","body":" def \n{{ method_name.id }}\n\n \n{{ value }}\n\n \nend\n \n"}}]},{"html_id":"lucky/Lucky/Redirectable","path":"Lucky/Redirectable.html","kind":"module","full_name":"Lucky::Redirectable","name":"Redirectable","abstract":false,"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"locations":[{"filename":"src/lucky/redirectable.cr","line_number":37,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L37"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: redirect_status : Int32 = HTTP::Status::FOUND.value, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"including_types":[{"html_id":"lucky/Lucky/Action","kind":"class","full_name":"Lucky::Action","name":"Action"},{"html_id":"lucky/Lucky/ErrorAction","kind":"class","full_name":"Lucky::ErrorAction","name":"ErrorAction"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Redirect the request\n\nThere are multiple ways to redirect inside of an action. The most common ways are to redirect to a `Lucky::Action` class, or a URL/path `String`. Both use the `redirect` method:\n\n```\nredirect to: Users::Index\nredirect to: Users::Show.with(user.id)\nredirect to: \"https://luckyframework.org/\"\nredirect to: \"/users\"\n```\n\nBy default, the method will set the status code to `302` A.K.A. \"Found\". If you want to customize the status code, you can pass it directly:\n\n```\nredirect to: Users::Index, status: 301\n\n# or use the built-in enum value\nredirect to: Users::Index, status: HTTP::Status::MOVED_PERMANENTLY\n```\n\nAlternatively, the status code can also be configured globally through the `redirect_status` setting:\n\n```\nLucky::Redirectable.configure do |config|\n config.redirect_status = 303\n\n # or using a built-in enum value\n config.redirect_status = HTTP::Status::SEE_OTHER.value\nend\n```\n\nYou can find a list of all possible statuses [here](https://crystal-lang.org/api/latest/HTTP/Status.html).\n\nInternally, all the different methods in this module eventually use the\nmethod that takes a `String`. However, it's recommended you pass a\n`Lucky::Action` class if possible because it guarantees runtime safety.","summary":"

    Redirect the request

    ","class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/redirectable.cr","line_number":38,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L38"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/redirectable.cr","line_number":38,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L38"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"redirect(toroute:Lucky::RouteHelper,status=Lucky::Redirectable.settings.redirect_status):Lucky::TextResponse-instance-method","name":"redirect","doc":"Redirect using a `Lucky::RouteHelper`\n\n```\nredirect to: Users::Show.with(user.id), status: 301\n```","summary":"

    Redirect using a Lucky::RouteHelper

    ","abstract":false,"args":[{"name":"route","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":""}],"args_string":"(to route : Lucky::RouteHelper, status = Lucky::Redirectable.settings.redirect_status) : Lucky::TextResponse","args_html":"(to route : Lucky::RouteHelper, status = Lucky::Redirectable.settings.redirect_status) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable.cr","line_number":127,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L127"},"def":{"name":"redirect","args":[{"name":"route","external_name":"to","restriction":"Lucky::RouteHelper"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":""}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"redirect(to: route.path, status: status)"}},{"html_id":"redirect(toaction:Lucky::Action.class,status=Lucky::Redirectable.settings.redirect_status):Lucky::TextResponse-instance-method","name":"redirect","doc":"Redirect to a `Lucky::Action`\n\n```\nredirect to: Users::Index\n```","summary":"

    Redirect to a Lucky::Action

    ","abstract":false,"args":[{"name":"action","external_name":"to","restriction":"Lucky::Action.class"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":""}],"args_string":"(to action : Lucky::Action.class, status = Lucky::Redirectable.settings.redirect_status) : Lucky::TextResponse","args_html":"(to action : Lucky::Action.class, status = Lucky::Redirectable.settings.redirect_status) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable.cr","line_number":139,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L139"},"def":{"name":"redirect","args":[{"name":"action","external_name":"to","restriction":"Lucky::Action.class"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":""}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"redirect(to: action.route, status: status)"}},{"html_id":"redirect(topath:String,status:HTTP::Status):Lucky::TextResponse-instance-method","name":"redirect","doc":"Redirect to the given path, with a human friendly status\n\n```\nredirect to: \"/users\", status: HTTP::Status::MOVED_PERMANENTLY\n```","summary":"

    Redirect to the given path, with a human friendly status

    ","abstract":false,"args":[{"name":"path","external_name":"to","restriction":"String"},{"name":"status","external_name":"status","restriction":"HTTP::Status"}],"args_string":"(to path : String, status : HTTP::Status) : Lucky::TextResponse","args_html":"(to path : String, status : HTTP::Status) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable.cr","line_number":151,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L151"},"def":{"name":"redirect","args":[{"name":"path","external_name":"to","restriction":"String"},{"name":"status","external_name":"status","restriction":"HTTP::Status"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"redirect(path, status.value)"}},{"html_id":"redirect(topath:String,status:Int32=Lucky::Redirectable.settings.redirect_status):Lucky::TextResponse-instance-method","name":"redirect","doc":"Redirect to the given path, with an optional `Int32` status\n\n```\nredirect to: \"/users\"\nredirect to: \"/users/1\", status: 301\n```\nNote: It's recommended to use the method above that accepts a human friendly version of the status","summary":"

    Redirect to the given path, with an optional Int32 status

    ","abstract":false,"args":[{"name":"path","external_name":"to","restriction":"String"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":"Int32"}],"args_string":"(to path : String, status : Int32 = Lucky::Redirectable.settings.redirect_status) : Lucky::TextResponse","args_html":"(to path : String, status : Int32 = Lucky::Redirectable.settings.redirect_status) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable.cr","line_number":162,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L162"},"def":{"name":"redirect","args":[{"name":"path","external_name":"to","restriction":"String"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":"Int32"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"flash.keep\ncontext.response.headers.add(\"Location\", path)\ncontext.response.status_code = status\nLucky::TextResponse.new(context, \"\", \"\")\n"}},{"html_id":"redirect_back(*,fallback:Lucky::Action.class,status=Lucky::Redirectable.settings.redirect_status,allow_external=false):Lucky::TextResponse-instance-method","name":"redirect_back","doc":"Redirect back with a `Lucky::Action` fallback\n\n```\nredirect_back fallback: Users::Index\n```","summary":"

    Redirect back with a Lucky::Action fallback

    ","abstract":false,"args":[{"name":"","external_name":"","restriction":""},{"name":"fallback","external_name":"fallback","restriction":"Lucky::Action.class"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":""},{"name":"allow_external","default_value":"false","external_name":"allow_external","restriction":""}],"args_string":"(*, fallback : Lucky::Action.class, status = Lucky::Redirectable.settings.redirect_status, allow_external = false) : Lucky::TextResponse","args_html":"(*, fallback : Lucky::Action.class, status = Lucky::Redirectable.settings.redirect_status, allow_external = false) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable.cr","line_number":47,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L47"},"def":{"name":"redirect_back","args":[{"name":"","external_name":"","restriction":""},{"name":"fallback","external_name":"fallback","restriction":"Lucky::Action.class"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":""},{"name":"allow_external","default_value":"false","external_name":"allow_external","restriction":""}],"splat_index":0,"return_type":"Lucky::TextResponse","visibility":"Public","body":"redirect_back(fallback: fallback.route, status: status, allow_external: allow_external)"}},{"html_id":"redirect_back(*,fallback:Lucky::RouteHelper,status=Lucky::Redirectable.settings.redirect_status,allow_external=false):Lucky::TextResponse-instance-method","name":"redirect_back","doc":"Redirect back with a `Lucky::RouteHelper` fallback\n\n```\nredirect_back fallback: Users::Show.with(user.id)\n```","summary":"

    Redirect back with a Lucky::RouteHelper fallback

    ","abstract":false,"args":[{"name":"","external_name":"","restriction":""},{"name":"fallback","external_name":"fallback","restriction":"Lucky::RouteHelper"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":""},{"name":"allow_external","default_value":"false","external_name":"allow_external","restriction":""}],"args_string":"(*, fallback : Lucky::RouteHelper, status = Lucky::Redirectable.settings.redirect_status, allow_external = false) : Lucky::TextResponse","args_html":"(*, fallback : Lucky::RouteHelper, status = Lucky::Redirectable.settings.redirect_status, allow_external = false) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable.cr","line_number":61,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L61"},"def":{"name":"redirect_back","args":[{"name":"","external_name":"","restriction":""},{"name":"fallback","external_name":"fallback","restriction":"Lucky::RouteHelper"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":""},{"name":"allow_external","default_value":"false","external_name":"allow_external","restriction":""}],"splat_index":0,"return_type":"Lucky::TextResponse","visibility":"Public","body":"redirect_back(fallback: fallback.path, status: status, allow_external: allow_external)"}},{"html_id":"redirect_back(*,fallback:String,status:HTTP::Status,allow_external=false):Lucky::TextResponse-instance-method","name":"redirect_back","doc":"Redirect back with a human friendly status\n\n```\nredirect_back fallback: \"/users\", status: HTTP::Status::MOVED_PERMANENTLY\n```","summary":"

    Redirect back with a human friendly status

    ","abstract":false,"args":[{"name":"","external_name":"","restriction":""},{"name":"fallback","external_name":"fallback","restriction":"String"},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"allow_external","default_value":"false","external_name":"allow_external","restriction":""}],"args_string":"(*, fallback : String, status : HTTP::Status, allow_external = false) : Lucky::TextResponse","args_html":"(*, fallback : String, status : HTTP::Status, allow_external = false) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable.cr","line_number":75,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L75"},"def":{"name":"redirect_back","args":[{"name":"","external_name":"","restriction":""},{"name":"fallback","external_name":"fallback","restriction":"String"},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"allow_external","default_value":"false","external_name":"allow_external","restriction":""}],"splat_index":0,"return_type":"Lucky::TextResponse","visibility":"Public","body":"redirect_back(fallback: fallback, status: status.value, allow_external: allow_external)"}},{"html_id":"redirect_back(*,fallback:String,status:Int32=Lucky::Redirectable.settings.redirect_status,allow_external:Bool=false):Lucky::TextResponse-instance-method","name":"redirect_back","doc":"Redirects the browser to the page that issued the request (the referrer)\nif possible, otherwise redirects to the provided default fallback\nlocation.\n\nThe referrer information is pulled from the 'Referer' header on\nthe request. This is an optional header, and if the request\nis missing this header the *fallback* will be used.\n\n```\nredirect_back fallback: \"/users\"\n```\n\nA redirect status can be specified\n\n```\nredirect_back fallback: \"/home\", status: 301\n```\n\nExternal referers are ignored by default.\nIt is determined by comparing the referer header to the request host.\nThey can be explicitly allowed if necessary\n\nredirect_back fallback: \"/home\", allow_external: true","summary":"

    Redirects the browser to the page that issued the request (the referrer) if possible, otherwise redirects to the provided default fallback location.

    ","abstract":false,"args":[{"name":"","external_name":"","restriction":""},{"name":"fallback","external_name":"fallback","restriction":"String"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":"Int32"},{"name":"allow_external","default_value":"false","external_name":"allow_external","restriction":"Bool"}],"args_string":"(*, fallback : String, status : Int32 = Lucky::Redirectable.settings.redirect_status, allow_external : Bool = false) : Lucky::TextResponse","args_html":"(*, fallback : String, status : Int32 = Lucky::Redirectable.settings.redirect_status, allow_external : Bool = false) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable.cr","line_number":107,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L107"},"def":{"name":"redirect_back","args":[{"name":"","external_name":"","restriction":""},{"name":"fallback","external_name":"fallback","restriction":"String"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":"Int32"},{"name":"allow_external","default_value":"false","external_name":"allow_external","restriction":"Bool"}],"splat_index":0,"return_type":"Lucky::TextResponse","visibility":"Public","body":"referer = request.headers[\"Referer\"]?\nif referer && (allow_external || (allowed_host?(referer)))\n redirect(to: referer, status: status)\nelse\n redirect(to: fallback, status: status)\nend\n"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/redirectable.cr","line_number":38,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L38"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"types":[{"html_id":"lucky/Lucky/Redirectable/HabitatSettings","path":"Lucky/Redirectable/HabitatSettings.html","kind":"class","full_name":"Lucky::Redirectable::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/redirectable.cr","line_number":38,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable.cr#L38"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/Redirectable","kind":"module","full_name":"Lucky::Redirectable","name":"Redirectable"},"class_methods":[{"html_id":"redirect_status:Int32-class-method","name":"redirect_status","abstract":false,"def":{"name":"redirect_status","return_type":"Int32","visibility":"Public","body":"@@redirect_status.not_nil!"}},{"html_id":"redirect_status=(value:Int32)-class-method","name":"redirect_status=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Int32"}],"args_string":"(value : Int32)","args_html":"(value : Int32)","def":{"name":"redirect_status=","args":[{"name":"value","external_name":"value","restriction":"Int32"}],"visibility":"Public","body":"@@redirect_status = value"}},{"html_id":"redirect_status?-class-method","name":"redirect_status?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use redirect_status in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use redirect_status in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"redirect_status?","visibility":"Public","body":"@@redirect_status"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"redirect_status\" => redirect_status}"}}]}]},{"html_id":"lucky/Lucky/RedirectableTurbolinksSupport","path":"Lucky/RedirectableTurbolinksSupport.html","kind":"module","full_name":"Lucky::RedirectableTurbolinksSupport","name":"RedirectableTurbolinksSupport","abstract":false,"locations":[{"filename":"src/lucky/redirectable_turbolinks_support.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable_turbolinks_support.cr#L6"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Set \"Turbolinks-Location\" from session\nNeeds to change browser address bar at last request, see https://github.com/turbolinks/turbolinks#following-redirects\n\nThis pipe extracted Lucky::Redirectable, because Lucky::Redirectable included to Lucky::ErrorAction\nbut Lucky::ErrorAction not have pipe support","summary":"

    Set "Turbolinks-Location" from session Needs to change browser address bar at last request, see https://github.com/turbolinks/turbolinks#following-redirects

    ","instance_methods":[{"html_id":"redirect(topath:String,status:Int32=Lucky::Redirectable.settings.redirect_status):Lucky::TextResponse-instance-method","name":"redirect","doc":"Overrides Lucky::Redirectable redirect's method","summary":"

    Overrides Lucky::Redirectable redirect's method

    ","abstract":false,"args":[{"name":"path","external_name":"to","restriction":"String"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":"Int32"}],"args_string":"(to path : String, status : Int32 = Lucky::Redirectable.settings.redirect_status) : Lucky::TextResponse","args_html":"(to path : String, status : Int32 = Lucky::Redirectable.settings.redirect_status) : Lucky::TextResponse","location":{"filename":"src/lucky/redirectable_turbolinks_support.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/redirectable_turbolinks_support.cr#L8"},"def":{"name":"redirect","args":[{"name":"path","external_name":"to","restriction":"String"},{"name":"status","default_value":"Lucky::Redirectable.settings.redirect_status","external_name":"status","restriction":"Int32"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"flash.keep\nif ajax? && (request.method != \"GET\")\n context.response.headers.add(\"Location\", path)\n context.response.headers.add(\"X-Xhr-Redirect\", path)\n Lucky::TextResponse.new(context, \"text/javascript\", \"Turbolinks.clearCache();\\nTurbolinks.visit(#{path.to_json}, {\\\"action\\\": \\\"replace\\\"})\", status: 200)\nelse\n if request.headers[\"Turbolinks-Referrer\"]?\n store_turbolinks_location_in_session(path)\n end\n context.response.headers.add(\"Location\", path)\n context.response.status_code = status\n Lucky::TextResponse.new(context, \"\", \"\")\nend\n"}}]},{"html_id":"lucky/Lucky/RemoteIpHandler","path":"Lucky/RemoteIpHandler.html","kind":"class","full_name":"Lucky::RemoteIpHandler","name":"RemoteIpHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/remote_ip_handler.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/remote_ip_handler.cr#L14"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: ip_header_name : String = \"X-Forwarded-For\", example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Sets the HTTP::Request#remote_address value as `Socket::IPAddress?`\nto the value of the last IP in the `X-Forwarded-For`\nheader, or fallback to the default `remote_address`.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For\n\nThis will also set a `remote_ip` String value as `String` which will be\neither the raw `remote_address` value, or an empty string.\n\nThis Handler does a \"best guess\" for the IP which is generally good\nenough. If you require IP based Authentication, then you may want\nto handle this on your own as there will be edge cases when related\nto mobile clients on the go, and potential IP spoofing attacks.\nMore detailed info: https://adam-p.ca/blog/2022/03/x-forwarded-for/","summary":"

    Sets the HTTP::Request#remote_address value as Socket::IPAddress? to the value of the last IP in the X-Forwarded-For header, or fallback to the default remote_address.

    ","class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/remote_ip_handler.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/remote_ip_handler.cr#L17"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/remote_ip_handler.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/remote_ip_handler.cr#L17"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"call(context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":""}],"args_string":"(context)","args_html":"(context)","location":{"filename":"src/lucky/remote_ip_handler.cr","line_number":21,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/remote_ip_handler.cr#L21"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":""}],"visibility":"Public","body":"context.request.remote_address = fetch_remote_ip(context)\nif ip_value = (context.request.remote_address.as?(Socket::IPAddress)).try() do |__arg0|\n __arg0.address.presence\nend\n context.request.remote_ip = ip_value\nend\ncall_next(context)\n"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/remote_ip_handler.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/remote_ip_handler.cr#L17"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"types":[{"html_id":"lucky/Lucky/RemoteIpHandler/HabitatSettings","path":"Lucky/RemoteIpHandler/HabitatSettings.html","kind":"class","full_name":"Lucky::RemoteIpHandler::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/remote_ip_handler.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/remote_ip_handler.cr#L17"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/RemoteIpHandler","kind":"class","full_name":"Lucky::RemoteIpHandler","name":"RemoteIpHandler"},"class_methods":[{"html_id":"ip_header_name:String-class-method","name":"ip_header_name","abstract":false,"def":{"name":"ip_header_name","return_type":"String","visibility":"Public","body":"@@ip_header_name.not_nil!"}},{"html_id":"ip_header_name=(value:String)-class-method","name":"ip_header_name=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(value : String)","args_html":"(value : String)","def":{"name":"ip_header_name=","args":[{"name":"value","external_name":"value","restriction":"String"}],"visibility":"Public","body":"@@ip_header_name = value"}},{"html_id":"ip_header_name?-class-method","name":"ip_header_name?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use ip_header_name in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use ip_header_name in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"ip_header_name?","visibility":"Public","body":"@@ip_header_name"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"ip_header_name\" => ip_header_name}"}}]}]},{"html_id":"lucky/Lucky/Renderable","path":"Lucky/Renderable.html","kind":"module","full_name":"Lucky::Renderable","name":"Renderable","abstract":false,"locations":[{"filename":"src/lucky/renderable.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/Action","kind":"class","full_name":"Lucky::Action","name":"Action"},{"html_id":"lucky/Lucky/ErrorAction","kind":"class","full_name":"Lucky::ErrorAction","name":"ErrorAction"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"component(comp:Lucky::BaseComponent.class,status:Int32|Nil=nil,**named_args):Lucky::TextResponse-instance-method","name":"component","doc":"Render a Component as an HTML response.\n\n```\nget \"/foo\" do\n component MyComponent, with: :args\nend\n```","summary":"

    Render a Component as an HTML response.

    ","abstract":false,"args":[{"name":"comp","external_name":"comp","restriction":"Lucky::BaseComponent.class"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"}],"args_string":"(comp : Lucky::BaseComponent.class, status : Int32 | Nil = nil, **named_args) : Lucky::TextResponse","args_html":"(comp : Lucky::BaseComponent.class, status : Int32 | Nil = nil, **named_args) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":326,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L326"},"def":{"name":"component","args":[{"name":"comp","external_name":"comp","restriction":"Lucky::BaseComponent.class"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"return_type":"Lucky::TextResponse","visibility":"Public","body":"send_text_response(((comp.new(**named_args)).context(context)).render_to_string, html_content_type, status)"}},{"html_id":"component(comp:Lucky::BaseComponent.class,status:HTTP::Status,**named_args):Lucky::TextResponse-instance-method","name":"component","abstract":false,"args":[{"name":"comp","external_name":"comp","restriction":"Lucky::BaseComponent.class"},{"name":"status","external_name":"status","restriction":"HTTP::Status"}],"args_string":"(comp : Lucky::BaseComponent.class, status : HTTP::Status, **named_args) : Lucky::TextResponse","args_html":"(comp : Lucky::BaseComponent.class, status : HTTP::Status, **named_args) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":334,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L334"},"def":{"name":"component","args":[{"name":"comp","external_name":"comp","restriction":"Lucky::BaseComponent.class"},{"name":"status","external_name":"status","restriction":"HTTP::Status"}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"return_type":"Lucky::TextResponse","visibility":"Public","body":"component(comp, status.value, **named_args)"}},{"html_id":"data(data:String,content_type:String=\"application/octet-stream\",disposition:String=\"attachment\",filename:String|Nil=nil,status:Int32|Nil=nil):Lucky::DataResponse-instance-method","name":"data","abstract":false,"args":[{"name":"data","external_name":"data","restriction":"String"},{"name":"content_type","default_value":"\"application/octet-stream\"","external_name":"content_type","restriction":"String"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"}],"args_string":"(data : String, content_type : String = \"application/octet-stream\", disposition : String = \"attachment\", filename : String | Nil = nil, status : Int32 | Nil = nil) : Lucky::DataResponse","args_html":"(data : String, content_type : String = "application/octet-stream", disposition : String = "attachment", filename : String | Nil = nil, status : Int32 | Nil = nil) : Lucky::DataResponse","location":{"filename":"src/lucky/renderable.cr","line_number":239,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L239"},"def":{"name":"data","args":[{"name":"data","external_name":"data","restriction":"String"},{"name":"content_type","default_value":"\"application/octet-stream\"","external_name":"content_type","restriction":"String"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"}],"return_type":"Lucky::DataResponse","visibility":"Public","body":"Lucky::DataResponse.new(context, data, content_type, disposition, filename, status)"}},{"html_id":"file(path:String,content_type:String|Nil=nil,disposition:String=\"attachment\",filename:String|Nil=nil,status:Int32|Nil=nil):Lucky::FileResponse-instance-method","name":"file","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"content_type","default_value":"nil","external_name":"content_type","restriction":"String | ::Nil"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"}],"args_string":"(path : String, content_type : String | Nil = nil, disposition : String = \"attachment\", filename : String | Nil = nil, status : Int32 | Nil = nil) : Lucky::FileResponse","args_html":"(path : String, content_type : String | Nil = nil, disposition : String = "attachment", filename : String | Nil = nil, status : Int32 | Nil = nil) : Lucky::FileResponse","location":{"filename":"src/lucky/renderable.cr","line_number":219,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L219"},"def":{"name":"file","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"content_type","default_value":"nil","external_name":"content_type","restriction":"String | ::Nil"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"}],"return_type":"Lucky::FileResponse","visibility":"Public","body":"Lucky::FileResponse.new(context, path, content_type, disposition, filename, status)"}},{"html_id":"file(path:String,content_type:String|Nil=nil,disposition:String=\"attachment\",filename:String|Nil=nil,status:HTTP::Status=HTTP::Status::OK):Lucky::FileResponse-instance-method","name":"file","abstract":false,"args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"content_type","default_value":"nil","external_name":"content_type","restriction":"String | ::Nil"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"HTTP::Status::OK","external_name":"status","restriction":"HTTP::Status"}],"args_string":"(path : String, content_type : String | Nil = nil, disposition : String = \"attachment\", filename : String | Nil = nil, status : HTTP::Status = HTTP::Status::OK) : Lucky::FileResponse","args_html":"(path : String, content_type : String | Nil = nil, disposition : String = "attachment", filename : String | Nil = nil, status : HTTP::Status = HTTP::Status::OK) : Lucky::FileResponse","location":{"filename":"src/lucky/renderable.cr","line_number":229,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L229"},"def":{"name":"file","args":[{"name":"path","external_name":"path","restriction":"String"},{"name":"content_type","default_value":"nil","external_name":"content_type","restriction":"String | ::Nil"},{"name":"disposition","default_value":"\"attachment\"","external_name":"disposition","restriction":"String"},{"name":"filename","default_value":"nil","external_name":"filename","restriction":"String | ::Nil"},{"name":"status","default_value":"HTTP::Status::OK","external_name":"status","restriction":"HTTP::Status"}],"return_type":"Lucky::FileResponse","visibility":"Public","body":"file(path, content_type, disposition, filename, status.value)"}},{"html_id":"head(status:Int32):Lucky::TextResponse-instance-method","name":"head","abstract":false,"args":[{"name":"status","external_name":"status","restriction":"Int32"}],"args_string":"(status : Int32) : Lucky::TextResponse","args_html":"(status : Int32) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":271,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L271"},"def":{"name":"head","args":[{"name":"status","external_name":"status","restriction":"Int32"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"send_text_response(body: \"\", content_type: \"\", status: status)"}},{"html_id":"head(status:HTTP::Status):Lucky::TextResponse-instance-method","name":"head","abstract":false,"args":[{"name":"status","external_name":"status","restriction":"HTTP::Status"}],"args_string":"(status : HTTP::Status) : Lucky::TextResponse","args_html":"(status : HTTP::Status) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":275,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L275"},"def":{"name":"head","args":[{"name":"status","external_name":"status","restriction":"HTTP::Status"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"head(status.value)"}},{"html_id":"html_content_type-instance-method","name":"html_content_type","doc":"The default global content-type header for HTML","summary":"

    The default global content-type header for HTML

    ","abstract":false,"location":{"filename":"src/lucky/renderable.cr","line_number":200,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L200"},"def":{"name":"html_content_type","visibility":"Public","body":"\"text/html\""}},{"html_id":"json(body,status:Int32|Nil=nil,content_type:String=json_content_type):Lucky::TextResponse-instance-method","name":"json","abstract":false,"args":[{"name":"body","external_name":"body","restriction":""},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"content_type","default_value":"json_content_type","external_name":"content_type","restriction":"String"}],"args_string":"(body, status : Int32 | Nil = nil, content_type : String = json_content_type) : Lucky::TextResponse","args_html":"(body, status : Int32 | Nil = nil, content_type : String = json_content_type) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":303,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L303"},"def":{"name":"json","args":[{"name":"body","external_name":"body","restriction":""},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"content_type","default_value":"json_content_type","external_name":"content_type","restriction":"String"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"raw_json(body.to_json, status, content_type)"}},{"html_id":"json(body,status:HTTP::Status,content_type:String=json_content_type):Lucky::TextResponse-instance-method","name":"json","abstract":false,"args":[{"name":"body","external_name":"body","restriction":""},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"content_type","default_value":"json_content_type","external_name":"content_type","restriction":"String"}],"args_string":"(body, status : HTTP::Status, content_type : String = json_content_type) : Lucky::TextResponse","args_html":"(body, status : HTTP::Status, content_type : String = json_content_type) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":307,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L307"},"def":{"name":"json","args":[{"name":"body","external_name":"body","restriction":""},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"content_type","default_value":"json_content_type","external_name":"content_type","restriction":"String"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"json(body, status: status.value, content_type: content_type)"}},{"html_id":"json_content_type-instance-method","name":"json_content_type","doc":"The default global content-type header for JSON","summary":"

    The default global content-type header for JSON

    ","abstract":false,"location":{"filename":"src/lucky/renderable.cr","line_number":205,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L205"},"def":{"name":"json_content_type","visibility":"Public","body":"\"application/json\""}},{"html_id":"plain_content_type-instance-method","name":"plain_content_type","doc":"The default global content-type header for Plain text","summary":"

    The default global content-type header for Plain text

    ","abstract":false,"location":{"filename":"src/lucky/renderable.cr","line_number":215,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L215"},"def":{"name":"plain_content_type","visibility":"Public","body":"\"text/plain\""}},{"html_id":"plain_text(body:String,status:Int32|Nil=nil,content_type:String=plain_content_type):Lucky::TextResponse-instance-method","name":"plain_text","abstract":false,"args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"content_type","default_value":"plain_content_type","external_name":"content_type","restriction":"String"}],"args_string":"(body : String, status : Int32 | Nil = nil, content_type : String = plain_content_type) : Lucky::TextResponse","args_html":"(body : String, status : Int32 | Nil = nil, content_type : String = plain_content_type) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":263,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L263"},"def":{"name":"plain_text","args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"content_type","default_value":"plain_content_type","external_name":"content_type","restriction":"String"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"send_text_response(body, content_type, status)"}},{"html_id":"plain_text(body:String,status:HTTP::Status,content_type:String=plain_content_type):Lucky::TextResponse-instance-method","name":"plain_text","abstract":false,"args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"content_type","default_value":"plain_content_type","external_name":"content_type","restriction":"String"}],"args_string":"(body : String, status : HTTP::Status, content_type : String = plain_content_type) : Lucky::TextResponse","args_html":"(body : String, status : HTTP::Status, content_type : String = plain_content_type) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":267,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L267"},"def":{"name":"plain_text","args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"content_type","default_value":"plain_content_type","external_name":"content_type","restriction":"String"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"plain_text(body, status: status.value)"}},{"html_id":"raw_json(body:String,status:Int32|Nil=nil,content_type:String=json_content_type):Lucky::TextResponse-instance-method","name":"raw_json","doc":"allows json-compatible string to be returned directly","summary":"

    allows json-compatible string to be returned directly

    ","abstract":false,"args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"content_type","default_value":"json_content_type","external_name":"content_type","restriction":"String"}],"args_string":"(body : String, status : Int32 | Nil = nil, content_type : String = json_content_type) : Lucky::TextResponse","args_html":"(body : String, status : Int32 | Nil = nil, content_type : String = json_content_type) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":280,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L280"},"def":{"name":"raw_json","args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"content_type","default_value":"json_content_type","external_name":"content_type","restriction":"String"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"send_text_response(body, content_type, status)"}},{"html_id":"raw_json(body:String,status:HTTP::Status,content_type:String=json_content_type):Lucky::TextResponse-instance-method","name":"raw_json","abstract":false,"args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"content_type","default_value":"json_content_type","external_name":"content_type","restriction":"String"}],"args_string":"(body : String, status : HTTP::Status, content_type : String = json_content_type) : Lucky::TextResponse","args_html":"(body : String, status : HTTP::Status, content_type : String = json_content_type) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":284,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L284"},"def":{"name":"raw_json","args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"content_type","default_value":"json_content_type","external_name":"content_type","restriction":"String"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"raw_json(body, status: status.value, content_type: content_type)"}},{"html_id":"send_text_response(body:String,content_type:String,status:Int32|Nil=nil):Lucky::TextResponse-instance-method","name":"send_text_response","abstract":false,"args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"content_type","external_name":"content_type","restriction":"String"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"}],"args_string":"(body : String, content_type : String, status : Int32 | Nil = nil) : Lucky::TextResponse","args_html":"(body : String, content_type : String, status : Int32 | Nil = nil) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":249,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L249"},"def":{"name":"send_text_response","args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"content_type","external_name":"content_type","restriction":"String"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"Lucky::TextResponse.new(context, content_type, body, status: status, enable_cookies: enable_cookies?)"}},{"html_id":"xml(body:String,status:Int32|Nil=nil,content_type:String=xml_content_type):Lucky::TextResponse-instance-method","name":"xml","abstract":false,"args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"content_type","default_value":"xml_content_type","external_name":"content_type","restriction":"String"}],"args_string":"(body : String, status : Int32 | Nil = nil, content_type : String = xml_content_type) : Lucky::TextResponse","args_html":"(body : String, status : Int32 | Nil = nil, content_type : String = xml_content_type) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":311,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L311"},"def":{"name":"xml","args":[{"name":"body","external_name":"body","restriction":"String"},{"name":"status","default_value":"nil","external_name":"status","restriction":"Int32 | ::Nil"},{"name":"content_type","default_value":"xml_content_type","external_name":"content_type","restriction":"String"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"send_text_response(body, content_type, status)"}},{"html_id":"xml(body,status:HTTP::Status,content_type:String=xml_content_type):Lucky::TextResponse-instance-method","name":"xml","abstract":false,"args":[{"name":"body","external_name":"body","restriction":""},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"content_type","default_value":"xml_content_type","external_name":"content_type","restriction":"String"}],"args_string":"(body, status : HTTP::Status, content_type : String = xml_content_type) : Lucky::TextResponse","args_html":"(body, status : HTTP::Status, content_type : String = xml_content_type) : Lucky::TextResponse","location":{"filename":"src/lucky/renderable.cr","line_number":315,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L315"},"def":{"name":"xml","args":[{"name":"body","external_name":"body","restriction":""},{"name":"status","external_name":"status","restriction":"HTTP::Status"},{"name":"content_type","default_value":"xml_content_type","external_name":"content_type","restriction":"String"}],"return_type":"Lucky::TextResponse","visibility":"Public","body":"xml(body, status: status.value, content_type: content_type)"}},{"html_id":"xml_content_type-instance-method","name":"xml_content_type","doc":"The default global content-type header for XML","summary":"

    The default global content-type header for XML

    ","abstract":false,"location":{"filename":"src/lucky/renderable.cr","line_number":210,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L210"},"def":{"name":"xml_content_type","visibility":"Public","body":"\"text/xml\""}}],"macros":[{"html_id":"disable_cookies-macro","name":"disable_cookies","doc":"Disable cookies\n\nWhen `disable_cookies` is used, no `Set-Cookie` header will be written to\nthe response.\n\n```\nclass Events::Show < ApiAction\n disable_cookies\n\n get \"/events/:id\" do\n ...\n end\nend\n```\n","summary":"

    Disable cookies

    ","abstract":false,"location":{"filename":"src/lucky/renderable.cr","line_number":114,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L114"},"def":{"name":"disable_cookies","visibility":"Public","body":" private def \nenable_cookies?\n false\n \nend\n \n"}},{"html_id":"html(page_class=nil,_with_status_code=200,**assigns)-macro","name":"html","doc":"Render a page and pass it data\n\n`html` is used to pass data to a page and render it. Each key/value pair\nmust match up with each `needs` declarations for that page. For example, if\nwe have a page like this:\n\n```\nclass Users::IndexPage < MainLayout\n needs users : UserQuery\n\n def content\n @users.each do |user|\n # ...\n end\n end\nend\n```\n\nOur action must pass a `users` key to the `html` method like this:\n\n```\nclass Users::Index < BrowserAction\n get \"/users\" do\n html IndexPage, users: UserQuery.new\n end\nend\n```\n\nNote also that each piece of data is merged with any `expose` declarations:\n\n```\nclass Users::Index < BrowserAction\n expose current_user\n\n get \"/users\" do\n # Users::IndexPage receives users AND current_user\n html IndexPage users: UserQuery.new\n end\n\n private def current_user\n # ...\n end\nend\n```","summary":"

    Render a page and pass it data

    ","abstract":false,"args":[{"name":"page_class","default_value":"nil","external_name":"page_class","restriction":""},{"name":"_with_status_code","default_value":"200","external_name":"_with_status_code","restriction":""}],"args_string":"(page_class = nil, _with_status_code = 200, **assigns)","args_html":"(page_class = nil, _with_status_code = 200, **assigns)","location":{"filename":"src/lucky/renderable.cr","line_number":46,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L46"},"def":{"name":"html","args":[{"name":"page_class","default_value":"nil","external_name":"page_class","restriction":""},{"name":"_with_status_code","default_value":"200","external_name":"_with_status_code","restriction":""}],"double_splat":{"name":"assigns","external_name":"assigns","restriction":""},"visibility":"Public","body":" \n{% page_class = page_class || (parse_type(\"#{@type.name}Page\")) %}\n\n \n{% ancestors = page_class.resolve.ancestors %}\n\n \n{% if ancestors.includes?(Lucky::Action) %}\n {% page_class.raise(\"You accidentally rendered an action (#{page_class}) instead of an HTMLPage in the #{@type.name} action. Did you mean #{page_class}Page?\") %}\n {% else %}{% if !(ancestors.includes?(Lucky::HTMLPage)) %}\n {% page_class.raise(\"Couldn't render #{page_class} in #{@type.name} because it is not an HTMLPage\") %}\n {% end %}{% end %}\n\n\n \n# Found in \n{{ @type.name }}\n\n\n view = \n{{ page_class }}\n.new(\n context: context,\n \n{% for key, value in assigns %}\n {{ key }}: {{ value }},\n {% end %}\n\n \n{% for key in EXPOSURES %}\n {{ key }}: {{ key }},\n {% end %}\n\n )\n Lucky::TextResponse.new(\n context,\n html_content_type,\n view.perform_render,\n status: \n{{ _with_status_code }}\n,\n debug_message: log_message(view),\n \nenable_cookies: \nenable_cookies?\n )\n \n"}},{"html_id":"html_with_status(page_class,status,**assigns)-macro","name":"html_with_status","doc":"Render an HTMLPage with a status other than 200\n\nThe status can either be a Number, a HTTP::Status, or a Symbol that corresponds to the HTTP::Status.\n\n```\nclass SecretAgents::Index < BrowserAction\n get \"/shhhh\" do\n html_with_status IndexPage, 472, message: \"This page can only be seen with special goggles\"\n end\nend\n```\nSee Crystal's\n[HTTP::Status](https://crystal-lang.org/api/latest/HTTP/Status.html)\nenum for more available http status codes.","summary":"

    Render an HTMLPage with a status other than 200

    ","abstract":false,"args":[{"name":"page_class","external_name":"page_class","restriction":""},{"name":"status","external_name":"status","restriction":""}],"args_string":"(page_class, status, **assigns)","args_html":"(page_class, status, **assigns)","location":{"filename":"src/lucky/renderable.cr","line_number":89,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable.cr#L89"},"def":{"name":"html_with_status","args":[{"name":"page_class","external_name":"page_class","restriction":""},{"name":"status","external_name":"status","restriction":""}],"double_splat":{"name":"assigns","external_name":"assigns","restriction":""},"visibility":"Public","body":" \n{% if status.is_a?(SymbolLiteral) %}\n html {{ page_class }}, _with_status_code: HTTP::Status::{{ status.upcase.id }}.value, {{ **assigns }}\n {% else %}{% if status.is_a?(Path) && ((status.names.join(\"::\")).starts_with?(\"HTTP::Status::\")) %}\n html {{ page_class }}, _with_status_code: {{ status.resolve }}, {{ **assigns }}\n {% else %}\n html {{ page_class }}, _with_status_code: {{ status }}, {{ **assigns }}\n {% end %}{% end %}\n\n \n"}}]},{"html_id":"lucky/Lucky/RenderableError","path":"Lucky/RenderableError.html","kind":"module","full_name":"Lucky::RenderableError","name":"RenderableError","abstract":false,"locations":[{"filename":"src/lucky/renderable_error.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable_error.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/CookieNotFoundError","kind":"class","full_name":"Lucky::CookieNotFoundError","name":"CookieNotFoundError"},{"html_id":"lucky/Lucky/InvalidParamError","kind":"class","full_name":"Lucky::InvalidParamError","name":"InvalidParamError"},{"html_id":"lucky/Lucky/MissingNestedParamError","kind":"class","full_name":"Lucky::MissingNestedParamError","name":"MissingNestedParamError"},{"html_id":"lucky/Lucky/MissingParamError","kind":"class","full_name":"Lucky::MissingParamError","name":"MissingParamError"},{"html_id":"lucky/Lucky/NotAcceptableError","kind":"class","full_name":"Lucky::NotAcceptableError","name":"NotAcceptableError"},{"html_id":"lucky/Lucky/ParamParsingError","kind":"class","full_name":"Lucky::ParamParsingError","name":"ParamParsingError"},{"html_id":"lucky/Lucky/UnknownAcceptHeaderError","kind":"class","full_name":"Lucky::UnknownAcceptHeaderError","name":"UnknownAcceptHeaderError"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"renderable_message:String-instance-method","name":"renderable_message","abstract":true,"location":{"filename":"src/lucky/renderable_error.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable_error.cr#L3"},"def":{"name":"renderable_message","return_type":"String","visibility":"Public","body":""}},{"html_id":"renderable_status:Int32-instance-method","name":"renderable_status","abstract":true,"location":{"filename":"src/lucky/renderable_error.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/renderable_error.cr#L2"},"def":{"name":"renderable_status","return_type":"Int32","visibility":"Public","body":""}}]},{"html_id":"lucky/Lucky/RenderIfDefined","path":"Lucky/RenderIfDefined.html","kind":"module","full_name":"Lucky::RenderIfDefined","name":"RenderIfDefined","abstract":false,"locations":[{"filename":"src/lucky/page_helpers/render_if_defined.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/render_if_defined.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"macros":[{"html_id":"render_if_defined(method_name)-macro","name":"render_if_defined","abstract":false,"args":[{"name":"method_name","external_name":"method_name","restriction":""}],"args_string":"(method_name)","args_html":"(method_name)","location":{"filename":"src/lucky/page_helpers/render_if_defined.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/render_if_defined.cr#L2"},"def":{"name":"render_if_defined","args":[{"name":"method_name","external_name":"method_name","restriction":""}],"visibility":"Public","body":" if self.responds_to?(:\n{{ method_name.id }}\n)\n self.\n{{ method_name.id }}\n()\n \nend\n \n"}}]},{"html_id":"lucky/Lucky/RequestExpectations","path":"Lucky/RequestExpectations.html","kind":"module","full_name":"Lucky::RequestExpectations","name":"RequestExpectations","abstract":false,"locations":[{"filename":"src/lucky/request_expectations.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_expectations.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Expectations for writing specs for HTTP requests and responses","summary":"

    Expectations for writing specs for HTTP requests and responses

    ","instance_methods":[{"html_id":"send_json(status,**expected)-instance-method","name":"send_json","doc":"Test that the HTTP response has the expected status and JSON body\n\n```\nuser = UserFactory.create\n\nresponse = AppClient.new.exec(Users::Show.with(user.id))\n\nresponse.should send_json(200, name: user.name, age: user.age)\n```","summary":"

    Test that the HTTP response has the expected status and JSON body

    ","abstract":false,"args":[{"name":"status","external_name":"status","restriction":""}],"args_string":"(status, **expected)","args_html":"(status, **expected)","location":{"filename":"src/lucky/request_expectations.cr","line_number":12,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_expectations.cr#L12"},"def":{"name":"send_json","args":[{"name":"status","external_name":"status","restriction":""}],"double_splat":{"name":"expected","external_name":"expected","restriction":""},"visibility":"Public","body":"SendJsonExpectation.new(status, expected.to_json)"}}]},{"html_id":"lucky/Lucky/RequestIdHandler","path":"Lucky/RequestIdHandler.html","kind":"class","full_name":"Lucky::RequestIdHandler","name":"RequestIdHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/request_id_handler.cr","line_number":14,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_id_handler.cr#L14"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: set_request_id : Proc(HTTP::Server::Context, String) | ::Nil = nil, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Sets the HTTP::Server::Context#request_id value\n\nConfigure the `set_request_id` Proc to return a\nnew `String` value on each request. This can be\nused to group logs and such that may be ran asynchronously.\n\n```\nLucky::RequestIdHandler.configure do |settings|\n settings.set_request_id = ->(context : HTTP::Server::Context) {\n UUID.random.to_s\n }\nend\n```","summary":"

    Sets the HTTP::Server::Context#request_id value

    ","class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/request_id_handler.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_id_handler.cr#L17"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/request_id_handler.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_id_handler.cr#L17"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"call(context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":""}],"args_string":"(context)","args_html":"(context)","location":{"filename":"src/lucky/request_id_handler.cr","line_number":21,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_id_handler.cr#L21"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":""}],"visibility":"Public","body":"context.request_id = settings.set_request_id.try(&.call(context))\ncall_next(context)\n"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/request_id_handler.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_id_handler.cr#L17"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"types":[{"html_id":"lucky/Lucky/RequestIdHandler/HabitatSettings","path":"Lucky/RequestIdHandler/HabitatSettings.html","kind":"class","full_name":"Lucky::RequestIdHandler::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/request_id_handler.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_id_handler.cr#L17"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/RequestIdHandler","kind":"class","full_name":"Lucky::RequestIdHandler","name":"RequestIdHandler"},"class_methods":[{"html_id":"set_request_id:Proc(HTTP::Server::Context,String)|Nil-class-method","name":"set_request_id","abstract":false,"def":{"name":"set_request_id","return_type":"Proc(HTTP::Server::Context, String) | ::Nil","visibility":"Public","body":"@@set_request_id"}},{"html_id":"set_request_id=(value:Proc(HTTP::Server::Context,String)|Nil)-class-method","name":"set_request_id=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Proc(HTTP::Server::Context, String) | ::Nil"}],"args_string":"(value : Proc(HTTP::Server::Context, String) | Nil)","args_html":"(value : Proc(HTTP::Server::Context, String) | Nil)","def":{"name":"set_request_id=","args":[{"name":"value","external_name":"value","restriction":"Proc(HTTP::Server::Context, String) | ::Nil"}],"visibility":"Public","body":"@@set_request_id = value"}},{"html_id":"set_request_id?-class-method","name":"set_request_id?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use set_request_id in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use set_request_id in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"set_request_id?","visibility":"Public","body":"@@set_request_id"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"set_request_id\" => set_request_id}"}}]}]},{"html_id":"lucky/Lucky/RequestTypeHelpers","path":"Lucky/RequestTypeHelpers.html","kind":"module","full_name":"Lucky::RequestTypeHelpers","name":"RequestTypeHelpers","abstract":false,"locations":[{"filename":"src/lucky/request_type_helpers.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L4"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/Action","kind":"class","full_name":"Lucky::Action","name":"Action"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"These helpers check HTTP headers to determine \"request MIME type\".\n\nGenerally the `Accept` header is checked, but some check other headers, such as `X-Requested-With`.","summary":"

    These helpers check HTTP headers to determine "request MIME type".

    ","instance_methods":[{"html_id":"accepts?(format:Symbol):Bool-instance-method","name":"accepts?","doc":"Check whether the request wants the passed in format","summary":"

    Check whether the request wants the passed in format

    ","abstract":false,"args":[{"name":"format","external_name":"format","restriction":"Symbol"}],"args_string":"(format : Symbol) : Bool","args_html":"(format : Symbol) : Bool","location":{"filename":"src/lucky/request_type_helpers.cr","line_number":47,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L47"},"def":{"name":"accepts?","args":[{"name":"format","external_name":"format","restriction":"Symbol"}],"return_type":"Bool","visibility":"Public","body":"clients_desired_format == format"}},{"html_id":"ajax?:Bool-instance-method","name":"ajax?","doc":"Check if the request is AJAX\n\nThis tests if the `X-Requested-With` header is `XMLHttpRequest`","summary":"

    Check if the request is AJAX

    ","abstract":false,"location":{"filename":"src/lucky/request_type_helpers.cr","line_number":86,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L86"},"def":{"name":"ajax?","return_type":"Bool","visibility":"Public","body":"request.headers[\"X-Requested-With\"]?.try(&.downcase) == \"xmlhttprequest\""}},{"html_id":"html?:Bool-instance-method","name":"html?","doc":"Check if the request is HTML\n\nBrowsers typically send vague Accept headers. Because of that this will return `true` when:\n\n * The `accepted_formats` includes `:html`\n * And the `Accept` header is the browser default. For example `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","summary":"

    Check if the request is HTML

    ","abstract":false,"location":{"filename":"src/lucky/request_type_helpers.cr","line_number":64,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L64"},"def":{"name":"html?","return_type":"Bool","visibility":"Public","body":"accepts?(:html)"}},{"html_id":"json?:Bool-instance-method","name":"json?","doc":"Check if the request is JSON\n\nThis tests if the request type is `application/json`","summary":"

    Check if the request is JSON

    ","abstract":false,"location":{"filename":"src/lucky/request_type_helpers.cr","line_number":54,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L54"},"def":{"name":"json?","return_type":"Bool","visibility":"Public","body":"accepts?(:json)"}},{"html_id":"multipart?:Bool-instance-method","name":"multipart?","doc":"Check if the request is multipart\n\nThis tests if the `Content-Type` header is `multipart/form-data`","summary":"

    Check if the request is multipart

    ","abstract":false,"location":{"filename":"src/lucky/request_type_helpers.cr","line_number":93,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L93"},"def":{"name":"multipart?","return_type":"Bool","visibility":"Public","body":"!(!request.headers[\"Content-Type\"]?.try() do |__arg1|\n __arg1.downcase.starts_with?(\"multipart/form-data\")\nend)"}},{"html_id":"plain_text?:Bool-instance-method","name":"plain_text?","doc":"Check if the request is plain text\n\nThis tests if the `Accept` header type is `text/plain` or\nwith the optional character set per W3 RFC1341 7.1","summary":"

    Check if the request is plain text

    ","abstract":false,"location":{"filename":"src/lucky/request_type_helpers.cr","line_number":79,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L79"},"def":{"name":"plain_text?","return_type":"Bool","visibility":"Public","body":"accepts?(:plain_text)"}},{"html_id":"xml?:Bool-instance-method","name":"xml?","doc":"Check if the request is XML\n\nThis tests if the request type is `application/xml`","summary":"

    Check if the request is XML

    ","abstract":false,"location":{"filename":"src/lucky/request_type_helpers.cr","line_number":71,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L71"},"def":{"name":"xml?","return_type":"Bool","visibility":"Public","body":"accepts?(:xml)"}}],"macros":[{"html_id":"default_format(format)-macro","name":"default_format","doc":"If Lucky doesn't find a format then default to the given format\n\n```\ndefault_format :html\n```","summary":"

    If Lucky doesn't find a format then default to the given format

    ","abstract":false,"args":[{"name":"format","external_name":"format","restriction":""}],"args_string":"(format)","args_html":"(format)","location":{"filename":"src/lucky/request_type_helpers.cr","line_number":31,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/request_type_helpers.cr#L31"},"def":{"name":"default_format","args":[{"name":"format","external_name":"format","restriction":""}],"visibility":"Public","body":" private def default_format : Symbol\n \n{{ format }}\n\n \nend\n \n"}}]},{"html_id":"lucky/Lucky/Response","path":"Lucky/Response.html","kind":"class","full_name":"Lucky::Response","name":"Response","abstract":true,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/response.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/response.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"subclasses":[{"html_id":"lucky/Lucky/DataResponse","kind":"class","full_name":"Lucky::DataResponse","name":"DataResponse"},{"html_id":"lucky/Lucky/FileResponse","kind":"class","full_name":"Lucky::FileResponse","name":"FileResponse"},{"html_id":"lucky/Lucky/TextResponse","kind":"class","full_name":"Lucky::TextResponse","name":"TextResponse"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"print-instance-method","name":"print","abstract":true,"location":{"filename":"src/lucky/response.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/response.cr#L2"},"def":{"name":"print","visibility":"Public","body":""}},{"html_id":"status:Int-instance-method","name":"status","abstract":true,"location":{"filename":"src/lucky/response.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/response.cr#L3"},"def":{"name":"status","return_type":"Int","visibility":"Public","body":""}}]},{"html_id":"lucky/Lucky/Routable","path":"Lucky/Routable.html","kind":"module","full_name":"Lucky::Routable","name":"Routable","abstract":false,"locations":[{"filename":"src/lucky/routable.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/Action","kind":"class","full_name":"Lucky::Action","name":"Action"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Methods for routing HTTP requests and their parameters to actions.","summary":"

    Methods for routing HTTP requests and their parameters to actions.

    ","macros":[{"html_id":"delete(path)-macro","name":"delete","doc":"Define a route that responds to a DELETE request\n\nUse these methods if you need a custom path or are using a non-restful\nroute. For example:\n\n```\nclass Profile::ImageUpload\n delete \"/profile/image/:id\" do\n # action code here\n end\nend\n```\n\nwill respond to an `HTTP DELETE` request.\n\n**See also** our guides for more information and examples:\n* [Routing](https://luckyframework.org/guides/http-and-routing/routing-and-params#routing)","summary":"

    Define a route that responds to a DELETE request

    ","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""}],"args_string":"(path)","args_html":"(path)","location":{"filename":"src/lucky/routable.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L36"},"def":{"name":"delete","args":[{"name":"path","external_name":"path","restriction":""}],"visibility":"Public","body":" match(:delete, \n{{ path }}\n) do\n \n{{ yield }}\n\n \nend\n \n"}},{"html_id":"enforce_route_style(path,action)-macro","name":"enforce_route_style","doc":"Implement this macro in your action to check the path for a particular style.\n\nBy default Lucky ships with a `Lucky::EnforceUnderscoredRoute` that is included\nin your `BrowserAction` and `ApiAction` (as of Lucky 0.28)\n\nSee the docs for `Lucky::EnforceUnderscoredRoute` to learn how to use it or disable it.","summary":"

    Implement this macro in your action to check the path for a particular style.

    ","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""},{"name":"action","external_name":"action","restriction":""}],"args_string":"(path, action)","args_html":"(path, action)","location":{"filename":"src/lucky/routable.cr","line_number":118,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L118"},"def":{"name":"enforce_route_style","args":[{"name":"path","external_name":"path","restriction":""},{"name":"action","external_name":"action","restriction":""}],"visibility":"Public","body":" \n# no-op by default\n\n \n"}},{"html_id":"fallback-macro","name":"fallback","abstract":false,"location":{"filename":"src/lucky/routable.cr","line_number":22,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L22"},"def":{"name":"fallback","visibility":"Public","body":" Lucky::RouteNotFoundHandler.fallback_action = \n{{ @type.name.id }}\n\n setup_call_method(\n{{ yield }}\n)\n \n"}},{"html_id":"get(path)-macro","name":"get","doc":"Define a route that responds to a GET request\n\nUse these methods if you need a custom path or are using a non-restful\nroute. For example:\n\n```\nclass Profile::ImageUpload\n get \"/profile/image/:id\" do\n # action code here\n end\nend\n```\n\nwill respond to an `HTTP GET` request.\n\n**See also** our guides for more information and examples:\n* [Routing](https://luckyframework.org/guides/http-and-routing/routing-and-params#routing)","summary":"

    Define a route that responds to a GET request

    ","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""}],"args_string":"(path)","args_html":"(path)","location":{"filename":"src/lucky/routable.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L36"},"def":{"name":"get","args":[{"name":"path","external_name":"path","restriction":""}],"visibility":"Public","body":" match(:get, \n{{ path }}\n) do\n \n{{ yield }}\n\n \nend\n \n"}},{"html_id":"inherit_route_settings-macro","name":"inherit_route_settings","abstract":false,"location":{"filename":"src/lucky/routable.cr","line_number":16,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L16"},"def":{"name":"inherit_route_settings","visibility":"Public","body":" \n\\{% for\n k, v in @type.ancestors.first.constant :ROUTE_SETTINGS %}\n \n\\{% \nROUTE_SETTINGS[k] = v %}\n \n\\{% end\n %}\n \n"}},{"html_id":"match(method,path)-macro","name":"match","doc":"Define a route with a custom HTTP method.\n\nUse this method if you need to match a route with a custom HTTP method (verb).\nFor example:\n\n```\nclass Profile::Show\n match :options, \"/profile\" do\n # action code here\n end\nend\n```\nWill respond to an `HTTP OPTIONS` request.","summary":"

    Define a route with a custom HTTP method.

    ","abstract":false,"args":[{"name":"method","external_name":"method","restriction":""},{"name":"path","external_name":"path","restriction":""}],"args_string":"(method, path)","args_html":"(method, path)","location":{"filename":"src/lucky/routable.cr","line_number":74,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L74"},"def":{"name":"match","args":[{"name":"method","external_name":"method","restriction":""},{"name":"path","external_name":"path","restriction":""}],"visibility":"Public","body":" \n{% if path.starts_with?(\"/\") %}{% else %}\n {% path.raise(\"Path must start with a slash. Example: '/#{path}'\") %}\n {% end %}\n\n\n \n{% if method == method.downcase %}{% else %}\n {% method.raise(\"HTTP methods should be lower-case symbols. Use #{method.downcase} instead of #{method}.\") %}\n {% end %}\n\n\n add_route(\n{{ method }}\n, \n{{ path }}\n, \n{{ @type.name.id }}\n)\n\n setup_call_method(\n{{ yield }}\n)\n \n"}},{"html_id":"param(type_declaration)-macro","name":"param","doc":"Access query and POST parameters\n\nWhen a query parameter or POST data is passed to an action, it is stored in\nthe params object. But accessing the param directly from the params object\nisn't type safe. Enter `param`. It checks the given param's type and makes\nit easily available inside the action.\n\n```\nclass Posts::Index < BrowserAction\n param page : Int32?\n\n get \"/posts\" do\n plain_text \"Posts - Page #{page || 1}\"\n end\nend\n```\n\nTo generate a link with a param, use the `with` method:\n`Posts::Index.with(10).path` which will generate `/posts?page=10`. Visiting\nthat path would render the above action like this:\n\n```text\nPosts - Page 10\n```\n\nThis works behind the scenes by creating a `page` method in the action to\naccess the parameter.\n\n**Note:** Params can also have a default, but then their routes will not\ninclude the parameter in the query string. Using the `with(10)` method for a\nparam like this:\n`param page : Int32 = 1` will only generate `/posts`.\n\nThese parameters are also typed. The path `/posts?page=ten` will raise a\n`Lucky::InvalidParamError` error because `ten` is a String not an\nInt32.\n\nAdditionally, if the param is non-optional it will raise the\n`Lucky::MissingParamError` error if the required param is absent\nwhen making a request:\n\n```\nclass UserConfirmations::New < BrowserAction\n param token : String # this param is required!\n\n get \"/user_confirmations/new\" do\n # confirm the user with their `token`\n end\nend\n```\n\nWhen visiting this page, the path _must_ contain the token parameter:\n`/user_confirmations/new?token=abc123`","summary":"

    Access query and POST parameters

    ","abstract":false,"args":[{"name":"type_declaration","external_name":"type_declaration","restriction":""}],"args_string":"(type_declaration)","args_html":"(type_declaration)","location":{"filename":"src/lucky/routable.cr","line_number":443,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L443"},"def":{"name":"param","args":[{"name":"type_declaration","external_name":"type_declaration","restriction":""}],"visibility":"Public","body":" \n{% if type_declaration.is_a?(TypeDeclaration) %}{% else %}\n {% raise(\"'param' expects a type declaration like 'name : String', instead got: '#{type_declaration}'\") %}\n {% end %}\n\n\n \n{% PARAM_DECLARATIONS << type_declaration %}\n\n @@query_param_declarations << \"\n{{ type_declaration.var }}\n : \n{{ type_declaration.type }}\n\"\n\n getter \n{{ type_declaration.var }}\n : \n{{ type_declaration.type }}\n do\n \n{% is_nilable_type = type_declaration.type.resolve.nilable? %}\n\n \n{% base_type = is_nilable_type ? type_declaration.type.types.first : type_declaration.type %}\n\n \n{% is_array = base_type.is_a?(Generic) %}\n\n \n{% type = is_array ? base_type.type_vars.first : base_type %}\n\n\n \n{% if is_array %}\n val = params.get_all?(:{{ type_declaration.var.id }})\n {% else %}\n val = params.get?(:{{ type_declaration.var.id }})\n {% end %}\n\n\n if val.nil?\n default_or_nil = \n{{ type_declaration.value.is_a?(Nop) ? nil : type_declaration.value }}\n\n \n{% if is_nilable_type %}\n return default_or_nil\n {% else %}\n if default_or_nil.nil?\n raise Lucky::MissingParamError.new(\"{{ type_declaration.var.id }}\")\n else\n return default_or_nil\n end\n {% end %}\n\n \nend\n\n result = Lucky::ParamParser.parse(val, \n{{ base_type }}\n)\n\n if result.nil?\n raise Lucky::InvalidParamError.new(\n param_name: \"\n{{ type_declaration.var.id }}\n\",\n param_value: val.to_s,\n param_type: \"\n{{ type }}\n\"\n )\n \nend\n\n result\n \nend\n \n"}},{"html_id":"patch(path)-macro","name":"patch","doc":"Define a route that responds to a PATCH request\n\nUse these methods if you need a custom path or are using a non-restful\nroute. For example:\n\n```\nclass Profile::ImageUpload\n patch \"/profile/image/:id\" do\n # action code here\n end\nend\n```\n\nwill respond to an `HTTP PATCH` request.\n\n**See also** our guides for more information and examples:\n* [Routing](https://luckyframework.org/guides/http-and-routing/routing-and-params#routing)","summary":"

    Define a route that responds to a PATCH request

    ","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""}],"args_string":"(path)","args_html":"(path)","location":{"filename":"src/lucky/routable.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L36"},"def":{"name":"patch","args":[{"name":"path","external_name":"path","restriction":""}],"visibility":"Public","body":" match(:patch, \n{{ path }}\n) do\n \n{{ yield }}\n\n \nend\n \n"}},{"html_id":"post(path)-macro","name":"post","doc":"Define a route that responds to a POST request\n\nUse these methods if you need a custom path or are using a non-restful\nroute. For example:\n\n```\nclass Profile::ImageUpload\n post \"/profile/image/:id\" do\n # action code here\n end\nend\n```\n\nwill respond to an `HTTP POST` request.\n\n**See also** our guides for more information and examples:\n* [Routing](https://luckyframework.org/guides/http-and-routing/routing-and-params#routing)","summary":"

    Define a route that responds to a POST request

    ","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""}],"args_string":"(path)","args_html":"(path)","location":{"filename":"src/lucky/routable.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L36"},"def":{"name":"post","args":[{"name":"path","external_name":"path","restriction":""}],"visibility":"Public","body":" match(:post, \n{{ path }}\n) do\n \n{{ yield }}\n\n \nend\n \n"}},{"html_id":"put(path)-macro","name":"put","doc":"Define a route that responds to a PUT request\n\nUse these methods if you need a custom path or are using a non-restful\nroute. For example:\n\n```\nclass Profile::ImageUpload\n put \"/profile/image/:id\" do\n # action code here\n end\nend\n```\n\nwill respond to an `HTTP PUT` request.\n\n**See also** our guides for more information and examples:\n* [Routing](https://luckyframework.org/guides/http-and-routing/routing-and-params#routing)","summary":"

    Define a route that responds to a PUT request

    ","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""}],"args_string":"(path)","args_html":"(path)","location":{"filename":"src/lucky/routable.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L36"},"def":{"name":"put","args":[{"name":"path","external_name":"path","restriction":""}],"visibility":"Public","body":" match(:put, \n{{ path }}\n) do\n \n{{ yield }}\n\n \nend\n \n"}},{"html_id":"route_prefix(prefix)-macro","name":"route_prefix","doc":"Sets the prefix for all routes defined by the match\nand http method (get, put, post, etc..) macros","summary":"

    Sets the prefix for all routes defined by the match and http method (get, put, post, etc..) macros

    ","abstract":false,"args":[{"name":"prefix","external_name":"prefix","restriction":""}],"args_string":"(prefix)","args_html":"(prefix)","location":{"filename":"src/lucky/routable.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L29"},"def":{"name":"route_prefix","args":[{"name":"prefix","external_name":"prefix","restriction":""}],"visibility":"Public","body":" \n{% if prefix.starts_with?(\"/\") %}{% else %}\n {% prefix.raise(\"Prefix must start with a slash. Example: '/#{prefix}'\") %}\n {% end %}\n\n \n{% ROUTE_SETTINGS[:prefix] = prefix %}\n\n \n"}},{"html_id":"trace(path)-macro","name":"trace","doc":"Define a route that responds to a TRACE request\n\nUse these methods if you need a custom path or are using a non-restful\nroute. For example:\n\n```\nclass Profile::ImageUpload\n trace \"/profile/image/:id\" do\n # action code here\n end\nend\n```\n\nwill respond to an `HTTP TRACE` request.\n\n**See also** our guides for more information and examples:\n* [Routing](https://luckyframework.org/guides/http-and-routing/routing-and-params#routing)","summary":"

    Define a route that responds to a TRACE request

    ","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""}],"args_string":"(path)","args_html":"(path)","location":{"filename":"src/lucky/routable.cr","line_number":36,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/routable.cr#L36"},"def":{"name":"trace","args":[{"name":"path","external_name":"path","restriction":""}],"visibility":"Public","body":" match(:trace, \n{{ path }}\n) do\n \n{{ yield }}\n\n \nend\n \n"}}]},{"html_id":"lucky/Lucky/RouteHandler","path":"Lucky/RouteHandler.html","kind":"class","full_name":"Lucky::RouteHandler","name":"RouteHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/route_handler.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_handler.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"call(context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":""}],"args_string":"(context)","args_html":"(context)","location":{"filename":"src/lucky/route_handler.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_handler.cr#L6"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":""}],"visibility":"Public","body":"handler = Lucky.router.find_action(context.request)\nif handler\n Lucky::Log.dexter.debug do\n {handled_by: handler.payload.to_s}\n end\n (handler.payload.new(context, handler.params)).perform_action\nelse\n call_next(context)\nend\n"}}]},{"html_id":"lucky/Lucky/RouteHelper","path":"Lucky/RouteHelper.html","kind":"class","full_name":"Lucky::RouteHelper","name":"RouteHelper","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/route_helper.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: base_uri : String, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/route_helper.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L2"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/route_helper.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L2"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"constructors":[{"html_id":"new(method:Symbol,path:String)-class-method","name":"new","abstract":false,"args":[{"name":"method","external_name":"method","restriction":"Symbol"},{"name":"path","external_name":"path","restriction":"String"}],"args_string":"(method : Symbol, path : String)","args_html":"(method : Symbol, path : String)","location":{"filename":"src/lucky/route_helper.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L9"},"def":{"name":"new","args":[{"name":"method","external_name":"method","restriction":"Symbol"},{"name":"path","external_name":"path","restriction":"String"}],"visibility":"Public","body":"_ = allocate\n_.initialize(method, path)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"==(other:self)-instance-method","name":"==","doc":"Returns `true` if this reference is the same as *other*. Invokes `same?`.","summary":"

    Returns true if this reference is the same as other.

    ","abstract":false,"args":[{"name":"other","external_name":"other","restriction":"self"}],"args_string":"(other : self)","args_html":"(other : self)","location":{"filename":"src/lucky/route_helper.cr","line_number":16,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L16"},"def":{"name":"==","args":[{"name":"other","external_name":"other","restriction":"self"}],"visibility":"Public","body":"if same?(other)\n return true\nend\nif @method == (other.@method)\nelse\n return false\nend\nif @path == (other.@path)\nelse\n return false\nend\ntrue\n"}},{"html_id":"method:Symbol-instance-method","name":"method","abstract":false,"location":{"filename":"src/lucky/route_helper.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L6"},"def":{"name":"method","return_type":"Symbol","visibility":"Public","body":"@method"}},{"html_id":"path:String-instance-method","name":"path","abstract":false,"location":{"filename":"src/lucky/route_helper.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L7"},"def":{"name":"path","return_type":"String","visibility":"Public","body":"@path"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/route_helper.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L2"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}},{"html_id":"url:String-instance-method","name":"url","abstract":false,"location":{"filename":"src/lucky/route_helper.cr","line_number":12,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L12"},"def":{"name":"url","return_type":"String","visibility":"Public","body":"settings.base_uri + path"}}],"types":[{"html_id":"lucky/Lucky/RouteHelper/HabitatSettings","path":"Lucky/RouteHelper/HabitatSettings.html","kind":"class","full_name":"Lucky::RouteHelper::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/route_helper.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_helper.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/RouteHelper","kind":"class","full_name":"Lucky::RouteHelper","name":"RouteHelper"},"class_methods":[{"html_id":"base_uri:String-class-method","name":"base_uri","abstract":false,"def":{"name":"base_uri","return_type":"String","visibility":"Public","body":"@@base_uri.not_nil!"}},{"html_id":"base_uri=(value:String)-class-method","name":"base_uri=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(value : String)","args_html":"(value : String)","def":{"name":"base_uri=","args":[{"name":"value","external_name":"value","restriction":"String"}],"visibility":"Public","body":"@@base_uri = value"}},{"html_id":"base_uri?-class-method","name":"base_uri?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use base_uri in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use base_uri in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"base_uri?","visibility":"Public","body":"@@base_uri"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"base_uri\" => base_uri}"}}]}]},{"html_id":"lucky/Lucky/RouteInferrer","path":"Lucky/RouteInferrer.html","kind":"class","full_name":"Lucky::RouteInferrer","name":"RouteInferrer","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/route_inferrer.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_inferrer.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"constructors":[{"html_id":"new(action_class_name:String,nested_route:Bool=false)-class-method","name":"new","abstract":false,"args":[{"name":"action_class_name","external_name":"action_class_name","restriction":"String"},{"name":"nested_route","default_value":"false","external_name":"nested_route","restriction":"Bool"}],"args_string":"(action_class_name : String, nested_route : Bool = false)","args_html":"(action_class_name : String, nested_route : Bool = false)","location":{"filename":"src/lucky/route_inferrer.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_inferrer.cr#L7"},"def":{"name":"new","args":[{"name":"action_class_name","external_name":"action_class_name","restriction":"String"},{"name":"nested_route","default_value":"false","external_name":"nested_route","restriction":"Bool"}],"visibility":"Public","body":"_ = allocate\n_.initialize(action_class_name, nested_route)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"action_class_name:String-instance-method","name":"action_class_name","abstract":false,"location":{"filename":"src/lucky/route_inferrer.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_inferrer.cr#L5"},"def":{"name":"action_class_name","return_type":"String","visibility":"Public","body":"@action_class_name"}},{"html_id":"generate_inferred_route:String-instance-method","name":"generate_inferred_route","abstract":false,"location":{"filename":"src/lucky/route_inferrer.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_inferrer.cr#L10"},"def":{"name":"generate_inferred_route","return_type":"String","visibility":"Public","body":"\"#{http_method} \\\"#{path}\\\"\""}},{"html_id":"nested_route?:Bool-instance-method","name":"nested_route?","abstract":false,"location":{"filename":"src/lucky/route_inferrer.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_inferrer.cr#L4"},"def":{"name":"nested_route?","return_type":"Bool","visibility":"Public","body":"@nested_route"}}]},{"html_id":"lucky/Lucky/RouteNotFoundError","path":"Lucky/RouteNotFoundError.html","kind":"class","full_name":"Lucky::RouteNotFoundError","name":"RouteNotFoundError","abstract":false,"superclass":{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},"ancestors":[{"html_id":"lucky/Lucky/Error","kind":"class","full_name":"Lucky::Error","name":"Error"},{"html_id":"lucky/Exception","kind":"class","full_name":"Exception","name":"Exception"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/errors.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L9"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Raised when a route could not be found","summary":"

    Raised when a route could not be found

    ","constructors":[{"html_id":"new(context:HTTP::Server::Context)-class-method","name":"new","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"args_string":"(context : HTTP::Server::Context)","args_html":"(context : HTTP::Server::Context)","location":{"filename":"src/lucky/errors.cr","line_number":12,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L12"},"def":{"name":"new","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"visibility":"Public","body":"_ = allocate\n_.initialize(context)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"context:HTTP::Server::Context-instance-method","name":"context","abstract":false,"location":{"filename":"src/lucky/errors.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/errors.cr#L10"},"def":{"name":"context","visibility":"Public","body":"@context"}}]},{"html_id":"lucky/Lucky/RouteNotFoundHandler","path":"Lucky/RouteNotFoundHandler.html","kind":"class","full_name":"Lucky::RouteNotFoundHandler","name":"RouteNotFoundHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/route_not_found_handler.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_not_found_handler.cr#L8"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"This HTTP::Handler takes in the current `context`,\nthen checks to see if a `fallback_action` has been defined to render that action first.\nIf no fallback has been defined, then it will raise a `Lucky::RouteNotFoundError` exception.\n\nThis handler should be used after the `Lucky::RouteHandler`.\n\nSee `Lucky::Routable.fallback` for implementing the `fallback_action`.","summary":"

    This HTTP::Handler takes in the current context, then checks to see if a .fallback_action has been defined to render that action first.

    ","class_methods":[{"html_id":"fallback_action:Lucky::Action.class|Nil-class-method","name":"fallback_action","abstract":false,"location":{"filename":"src/lucky/route_not_found_handler.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_not_found_handler.cr#L10"},"def":{"name":"fallback_action","return_type":"Lucky::Action.class | Nil","visibility":"Public","body":"@@fallback_action"}},{"html_id":"fallback_action=(fallback_action:Lucky::Action.class|Nil)-class-method","name":"fallback_action=","abstract":false,"args":[{"name":"fallback_action","external_name":"fallback_action","restriction":"Lucky::Action.class | Nil"}],"args_string":"(fallback_action : Lucky::Action.class | Nil)","args_html":"(fallback_action : Lucky::Action.class | Nil)","location":{"filename":"src/lucky/route_not_found_handler.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_not_found_handler.cr#L10"},"def":{"name":"fallback_action=","args":[{"name":"fallback_action","external_name":"fallback_action","restriction":"Lucky::Action.class | Nil"}],"visibility":"Public","body":"@@fallback_action = fallback_action"}}],"instance_methods":[{"html_id":"call(context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":""}],"args_string":"(context)","args_html":"(context)","location":{"filename":"src/lucky/route_not_found_handler.cr","line_number":12,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/route_not_found_handler.cr#L12"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":""}],"visibility":"Public","body":"if has_fallback?(context)\n Lucky::Log.dexter.debug do\n {handled_by_fallback: fallback_action.name.to_s}\n end\n (fallback_action.new(context, {} of String => String)).perform_action\nelse\n raise(Lucky::RouteNotFoundError.new(context))\nend"}}]},{"html_id":"lucky/Lucky/SecureHeaders","path":"Lucky/SecureHeaders.html","kind":"module","full_name":"Lucky::SecureHeaders","name":"SecureHeaders","abstract":false,"locations":[{"filename":"src/lucky/secure_headers/disable_floc.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/disable_floc.cr#L2"},{"filename":"src/lucky/secure_headers/set_csp_guard.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_csp_guard.cr#L2"},{"filename":"src/lucky/secure_headers/set_frame_guard.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_frame_guard.cr#L2"},{"filename":"src/lucky/secure_headers/set_sniff_guard.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_sniff_guard.cr#L2"},{"filename":"src/lucky/secure_headers/set_xss_guard.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_xss_guard.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"types":[{"html_id":"lucky/Lucky/SecureHeaders/DisableFLoC","path":"Lucky/SecureHeaders/DisableFLoC.html","kind":"module","full_name":"Lucky::SecureHeaders::DisableFLoC","name":"DisableFLoC","abstract":false,"locations":[{"filename":"src/lucky/secure_headers/disable_floc.cr","line_number":16,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/disable_floc.cr#L16"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/SecureHeaders","kind":"module","full_name":"Lucky::SecureHeaders","name":"SecureHeaders"},"doc":"```\nclass BrowserAction < Lucky::Action\n include Lucky::SecureHeaders::DisableFLoC\nend\n```","summary":"

    class BrowserAction < Lucky::Action include Lucky::SecureHeaders::DisableFLoC end

    "},{"html_id":"lucky/Lucky/SecureHeaders/SetCSPGuard","path":"Lucky/SecureHeaders/SetCSPGuard.html","kind":"module","full_name":"Lucky::SecureHeaders::SetCSPGuard","name":"SetCSPGuard","abstract":false,"locations":[{"filename":"src/lucky/secure_headers/set_csp_guard.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_csp_guard.cr#L17"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/SecureHeaders","kind":"module","full_name":"Lucky::SecureHeaders","name":"SecureHeaders"},"doc":"This module sets the HTTP header [Content-Security-Policy](https://wiki.owasp.org/index.php/OWASP_Secure_Headers_Project#csp).\nIt's job is to prevent a wide range of attacks like Cross-Site Scripting.\n\nInclude this module in the actions you want to add this to.\nA required method `csp_guard_value` must be defined\n```\nclass BrowserAction < Lucky::Action\n include Lucky::SecureHeaders::SetCSPGuard\n\n def csp_guard_value : String\n \"script-src 'self'\"\n end\nend\n```","summary":"

    This module sets the HTTP header Content-Security-Policy.

    ","instance_methods":[{"html_id":"csp_guard_value:String-instance-method","name":"csp_guard_value","abstract":true,"location":{"filename":"src/lucky/secure_headers/set_csp_guard.cr","line_number":22,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_csp_guard.cr#L22"},"def":{"name":"csp_guard_value","return_type":"String","visibility":"Public","body":""}}]},{"html_id":"lucky/Lucky/SecureHeaders/SetFrameGuard","path":"Lucky/SecureHeaders/SetFrameGuard.html","kind":"module","full_name":"Lucky::SecureHeaders::SetFrameGuard","name":"SetFrameGuard","abstract":false,"locations":[{"filename":"src/lucky/secure_headers/set_frame_guard.cr","line_number":25,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_frame_guard.cr#L25"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/SecureHeaders","kind":"module","full_name":"Lucky::SecureHeaders","name":"SecureHeaders"},"doc":"This module sets the HTTP header [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options).\nIt's job is responsible for deciding which site can call your site from within a frame.\nFor more information, read up on [Clickjacking](https://en.wikipedia.org/wiki/Clickjacking).\n\nInclude this module in the actions you want to add this to.\nA required method `frame_guard_value` must be defined`\n```\nclass BrowserAction < Lucky::Action\n include Lucky::SecureHeaders::SetFrameGuard\n\n def frame_guard_value : String\n \"deny\"\n end\nend\n```\n\n### Options\nThe `frame_guard_value` method must be defined and return a `String`\nIt can have one of 3 String values:\n- `\"sameorigin\"`\n- `\"deny\"`\n- a valid URL e.g. `\"https://mysite.com\"`","summary":"

    This module sets the HTTP header X-Frame-Options.

    ","instance_methods":[{"html_id":"frame_guard_value:String-instance-method","name":"frame_guard_value","abstract":true,"location":{"filename":"src/lucky/secure_headers/set_frame_guard.cr","line_number":30,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_frame_guard.cr#L30"},"def":{"name":"frame_guard_value","return_type":"String","visibility":"Public","body":""}}]},{"html_id":"lucky/Lucky/SecureHeaders/SetSniffGuard","path":"Lucky/SecureHeaders/SetSniffGuard.html","kind":"module","full_name":"Lucky::SecureHeaders::SetSniffGuard","name":"SetSniffGuard","abstract":false,"locations":[{"filename":"src/lucky/secure_headers/set_sniff_guard.cr","line_number":13,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_sniff_guard.cr#L13"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/SecureHeaders","kind":"module","full_name":"Lucky::SecureHeaders","name":"SecureHeaders"},"doc":"This module sets the HTTP header [X-Content-Type-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options).\nIt's job is responsible for disabling mime type sniffing.\nFor more information, read up on [MIME type security](https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/compatibility/gg622941(v=vs.85)).\n\nInclude this module in the actions you want to add this to.\n```\nclass BrowserAction < Lucky::Action\n include Lucky::SecureHeaders::SetSniffGuard\nend\n```","summary":"

    This module sets the HTTP header X-Content-Type-Options.

    "},{"html_id":"lucky/Lucky/SecureHeaders/SetXSSGuard","path":"Lucky/SecureHeaders/SetXSSGuard.html","kind":"module","full_name":"Lucky::SecureHeaders::SetXSSGuard","name":"SetXSSGuard","abstract":false,"locations":[{"filename":"src/lucky/secure_headers/set_xss_guard.cr","line_number":17,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/secure_headers/set_xss_guard.cr#L17"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/SecureHeaders","kind":"module","full_name":"Lucky::SecureHeaders","name":"SecureHeaders"},"doc":"```\nclass BrowserAction < Lucky::Action\n include Lucky::SecureHeaders::SetXSSGuard\nend\n```","summary":"

    class BrowserAction < Lucky::Action include Lucky::SecureHeaders::SetXSSGuard end

    "}]},{"html_id":"lucky/Lucky/Serializer","path":"Lucky/Serializer.html","kind":"class","full_name":"Lucky::Serializer","name":"Serializer","abstract":true,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/serializer.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/serializer.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"render-instance-method","name":"render","abstract":true,"location":{"filename":"src/lucky/serializer.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/serializer.cr#L4"},"def":{"name":"render","visibility":"Public","body":""}},{"html_id":"to_json(io)-instance-method","name":"to_json","abstract":false,"args":[{"name":"io","external_name":"io","restriction":""}],"args_string":"(io)","args_html":"(io)","location":{"filename":"src/lucky/serializer.cr","line_number":6,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/serializer.cr#L6"},"def":{"name":"to_json","args":[{"name":"io","external_name":"io","restriction":""}],"visibility":"Public","body":"render.to_json(io)"}}]},{"html_id":"lucky/Lucky/Server","path":"Lucky/Server.html","kind":"class","full_name":"Lucky::Server","name":"Server","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/server.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server.cr#L4"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: secret_key_base : String, example: nil, validation: nil}, {decl: host : String, example: nil, validation: nil}, {decl: port : Int32, example: nil, validation: nil}, {decl: asset_host : String = \"\", example: nil, validation: nil}, {decl: gzip_enabled : Bool = false, example: nil, validation: nil}, {decl: gzip_content_types : Array(String) = [\"application/json\", \"application/javascript\", \"application/xml\", \"font/otf\", \"font/ttf\", \"font/woff\", \"font/woff2\", \"image/svg+xml\", \"text/css\", \"text/csv\", \"text/html\", \"text/javascript\", \"text/plain\"] of ::String, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Class for configuring server settings\n\nThe settings created here can be customized in each Lucky app by modifying them in your config/server.cr","summary":"

    Class for configuring server settings

    ","class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/server.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server.cr#L5"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/server.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server.cr#L5"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/server.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server.cr#L5"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"types":[{"html_id":"lucky/Lucky/Server/HabitatSettings","path":"Lucky/Server/HabitatSettings.html","kind":"class","full_name":"Lucky::Server::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/server.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server.cr#L5"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/Server","kind":"class","full_name":"Lucky::Server","name":"Server"},"class_methods":[{"html_id":"asset_host:String-class-method","name":"asset_host","abstract":false,"def":{"name":"asset_host","return_type":"String","visibility":"Public","body":"@@asset_host.not_nil!"}},{"html_id":"asset_host=(value:String)-class-method","name":"asset_host=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(value : String)","args_html":"(value : String)","def":{"name":"asset_host=","args":[{"name":"value","external_name":"value","restriction":"String"}],"visibility":"Public","body":"@@asset_host = value"}},{"html_id":"asset_host?-class-method","name":"asset_host?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use asset_host in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use asset_host in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"asset_host?","visibility":"Public","body":"@@asset_host"}},{"html_id":"gzip_content_types:Array(String)-class-method","name":"gzip_content_types","abstract":false,"def":{"name":"gzip_content_types","return_type":"Array(String)","visibility":"Public","body":"@@gzip_content_types.not_nil!"}},{"html_id":"gzip_content_types=(value:Array(String))-class-method","name":"gzip_content_types=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Array(String)"}],"args_string":"(value : Array(String))","args_html":"(value : Array(String))","def":{"name":"gzip_content_types=","args":[{"name":"value","external_name":"value","restriction":"Array(String)"}],"visibility":"Public","body":"@@gzip_content_types = value"}},{"html_id":"gzip_content_types?-class-method","name":"gzip_content_types?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use gzip_content_types in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use gzip_content_types in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"gzip_content_types?","visibility":"Public","body":"@@gzip_content_types"}},{"html_id":"gzip_enabled:Bool-class-method","name":"gzip_enabled","abstract":false,"def":{"name":"gzip_enabled","return_type":"Bool","visibility":"Public","body":"@@gzip_enabled.not_nil!"}},{"html_id":"gzip_enabled=(value:Bool)-class-method","name":"gzip_enabled=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Bool"}],"args_string":"(value : Bool)","args_html":"(value : Bool)","def":{"name":"gzip_enabled=","args":[{"name":"value","external_name":"value","restriction":"Bool"}],"visibility":"Public","body":"@@gzip_enabled = value"}},{"html_id":"gzip_enabled?-class-method","name":"gzip_enabled?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use gzip_enabled in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use gzip_enabled in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"gzip_enabled?","visibility":"Public","body":"@@gzip_enabled"}},{"html_id":"host:String-class-method","name":"host","abstract":false,"def":{"name":"host","return_type":"String","visibility":"Public","body":"@@host.not_nil!"}},{"html_id":"host=(value:String)-class-method","name":"host=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(value : String)","args_html":"(value : String)","def":{"name":"host=","args":[{"name":"value","external_name":"value","restriction":"String"}],"visibility":"Public","body":"@@host = value"}},{"html_id":"host?-class-method","name":"host?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use host in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use host in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"host?","visibility":"Public","body":"@@host"}},{"html_id":"port:Int32-class-method","name":"port","abstract":false,"def":{"name":"port","return_type":"Int32","visibility":"Public","body":"@@port.not_nil!"}},{"html_id":"port=(value:Int32)-class-method","name":"port=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Int32"}],"args_string":"(value : Int32)","args_html":"(value : Int32)","def":{"name":"port=","args":[{"name":"value","external_name":"value","restriction":"Int32"}],"visibility":"Public","body":"@@port = value"}},{"html_id":"port?-class-method","name":"port?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use port in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use port in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"port?","visibility":"Public","body":"@@port"}},{"html_id":"secret_key_base:String-class-method","name":"secret_key_base","abstract":false,"def":{"name":"secret_key_base","return_type":"String","visibility":"Public","body":"@@secret_key_base.not_nil!"}},{"html_id":"secret_key_base=(value:String)-class-method","name":"secret_key_base=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(value : String)","args_html":"(value : String)","def":{"name":"secret_key_base=","args":[{"name":"value","external_name":"value","restriction":"String"}],"visibility":"Public","body":"@@secret_key_base = value"}},{"html_id":"secret_key_base?-class-method","name":"secret_key_base?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use secret_key_base in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use secret_key_base in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"secret_key_base?","visibility":"Public","body":"@@secret_key_base"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"secret_key_base\" => secret_key_base, \"host\" => host, \"port\" => port, \"asset_host\" => asset_host, \"gzip_enabled\" => gzip_enabled, \"gzip_content_types\" => gzip_content_types}"}}]}]},{"html_id":"lucky/Lucky/ServerSettings","path":"Lucky/ServerSettings.html","kind":"module","full_name":"Lucky::ServerSettings","name":"ServerSettings","abstract":false,"locations":[{"filename":"src/lucky/server_settings.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server_settings.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"YAML_SETTINGS_PATH","name":"YAML_SETTINGS_PATH","value":"\"./config/watch.yml\""}],"extended_modules":[{"html_id":"lucky/Lucky/ServerSettings","kind":"module","full_name":"Lucky::ServerSettings","name":"ServerSettings"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"host:String-instance-method","name":"host","doc":"The host for your local development.\nDepending on your setup, you may need `localhost`, `127.0.0.1`, or `0.0.0.0`","summary":"

    The host for your local development.

    ","abstract":false,"location":{"filename":"src/lucky/server_settings.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server_settings.cr#L10"},"def":{"name":"host","return_type":"String","visibility":"Public","body":"ENV[\"DEV_HOST\"]? || settings[\"host\"].as_s"}},{"html_id":"port:Int32-instance-method","name":"port","doc":"The port to run your local dev server","summary":"

    The port to run your local dev server

    ","abstract":false,"location":{"filename":"src/lucky/server_settings.cr","line_number":15,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server_settings.cr#L15"},"def":{"name":"port","return_type":"Int32","visibility":"Public","body":"ENV[\"DEV_PORT\"]?.try(&.to_i) || settings[\"port\"].as_i"}},{"html_id":"reload_port:Int32-instance-method","name":"reload_port","doc":"This is the port the dev watcher service will run on","summary":"

    This is the port the dev watcher service will run on

    ","abstract":false,"location":{"filename":"src/lucky/server_settings.cr","line_number":20,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server_settings.cr#L20"},"def":{"name":"reload_port","return_type":"Int32","visibility":"Public","body":"(ENV[\"RELOAD_PORT\"]?.try(&.to_i) || settings[\"reload_port\"]?.try(&.as_i)) || 3001"}},{"html_id":"reload_watch_paths:Array(String)-instance-method","name":"reload_watch_paths","doc":"Watch additional paths for changes","summary":"

    Watch additional paths for changes

    ","abstract":false,"location":{"filename":"src/lucky/server_settings.cr","line_number":25,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/server_settings.cr#L25"},"def":{"name":"reload_watch_paths","return_type":"Array(String)","visibility":"Public","body":"settings[\"extra_watch_paths\"]?.try() do |__arg3|\n __arg3.as_a.map(&.as_s)\nend || ([] of String)"}}]},{"html_id":"lucky/Lucky/Session","path":"Lucky/Session.html","kind":"class","full_name":"Lucky::Session","name":"Session","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/cookies/session.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: key : String, example: nil, validation: nil}] of Nil"}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/cookies/session.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L7"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"from_cookie_jar(cookie_jar:Lucky::CookieJar):Lucky::Session-class-method","name":"from_cookie_jar","abstract":false,"args":[{"name":"cookie_jar","external_name":"cookie_jar","restriction":"Lucky::CookieJar"}],"args_string":"(cookie_jar : Lucky::CookieJar) : Lucky::Session","args_html":"(cookie_jar : Lucky::CookieJar) : Lucky::Session","location":{"filename":"src/lucky/cookies/session.cr","line_number":11,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L11"},"def":{"name":"from_cookie_jar","args":[{"name":"cookie_jar","external_name":"cookie_jar","restriction":"Lucky::CookieJar"}],"return_type":"Lucky::Session","visibility":"Public","body":"new.tap do |session|\n (cookie_jar.get?(settings.key)).try do |contents|\n (JSON.parse(contents)).as_h.each do |key, value|\n session.set(key, value.as_s)\n end\n end\nend"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/cookies/session.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L7"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"clear(*args,**options)-instance-method","name":"clear","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","location":{"filename":"src/lucky/cookies/session.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L5"},"def":{"name":"clear","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"store.clear(*args, **options)"}},{"html_id":"clear(*args,**options,&)-instance-method","name":"clear","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","location":{"filename":"src/lucky/cookies/session.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L5"},"def":{"name":"clear","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"store.clear(*args, **options) do |*yield_args|\n yield *yield_args\nend"}},{"html_id":"delete(key:Key):String|Nil-instance-method","name":"delete","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String | Nil","args_html":"(key : Key) : String | Nil","location":{"filename":"src/lucky/cookies/session.cr","line_number":21,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L21"},"def":{"name":"delete","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String | ::Nil","visibility":"Public","body":"store.delete(key.to_s)"}},{"html_id":"get(key:Key):String-instance-method","name":"get","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String","args_html":"(key : Key) : String","location":{"filename":"src/lucky/cookies/session.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L29"},"def":{"name":"get","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String","visibility":"Public","body":"(get?(key)) || (raise(\"No key for '#{key}' in session\"))"}},{"html_id":"get?(key:Key):String|Nil-instance-method","name":"get?","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"}],"args_string":"(key : Key) : String | Nil","args_html":"(key : Key) : String | Nil","location":{"filename":"src/lucky/cookies/session.cr","line_number":33,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L33"},"def":{"name":"get?","args":[{"name":"key","external_name":"key","restriction":"Key"}],"return_type":"String | ::Nil","visibility":"Public","body":"store[key.to_s]?"}},{"html_id":"set(key:Key,value:String):String-instance-method","name":"set","abstract":false,"args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(key : Key, value : String) : String","args_html":"(key : Key, value : String) : String","location":{"filename":"src/lucky/cookies/session.cr","line_number":25,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L25"},"def":{"name":"set","args":[{"name":"key","external_name":"key","restriction":"Key"},{"name":"value","external_name":"value","restriction":"String"}],"return_type":"String","visibility":"Public","body":"store[key.to_s] = value"}},{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/cookies/session.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L7"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}},{"html_id":"to_json(*args,**options)-instance-method","name":"to_json","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options)","args_html":"(*args, **options)","location":{"filename":"src/lucky/cookies/session.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L5"},"def":{"name":"to_json","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"visibility":"Public","body":"store.to_json(*args, **options)"}},{"html_id":"to_json(*args,**options,&)-instance-method","name":"to_json","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **options, &)","args_html":"(*args, **options, &)","location":{"filename":"src/lucky/cookies/session.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L5"},"def":{"name":"to_json","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"splat_index":0,"yields":1,"block_arity":1,"visibility":"Public","body":"store.to_json(*args, **options) do |*yield_args|\n yield *yield_args\nend"}}],"types":[{"html_id":"lucky/Lucky/Session/HabitatSettings","path":"Lucky/Session/HabitatSettings.html","kind":"class","full_name":"Lucky::Session::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/cookies/session.cr","line_number":7,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L7"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/Session","kind":"class","full_name":"Lucky::Session","name":"Session"},"class_methods":[{"html_id":"key:String-class-method","name":"key","abstract":false,"def":{"name":"key","return_type":"String","visibility":"Public","body":"@@key.not_nil!"}},{"html_id":"key=(value:String)-class-method","name":"key=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"String"}],"args_string":"(value : String)","args_html":"(value : String)","def":{"name":"key=","args":[{"name":"value","external_name":"value","restriction":"String"}],"visibility":"Public","body":"@@key = value"}},{"html_id":"key?-class-method","name":"key?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use key in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use key in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"key?","visibility":"Public","body":"@@key"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"key\" => key}"}}]},{"html_id":"lucky/Lucky/Session/Key","path":"Lucky/Session/Key.html","kind":"alias","full_name":"Lucky::Session::Key","name":"Key","abstract":false,"locations":[{"filename":"src/lucky/cookies/session.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/cookies/session.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":true,"aliased":"(String | Symbol)","aliased_html":"String | Symbol","const":false,"namespace":{"html_id":"lucky/Lucky/Session","kind":"class","full_name":"Lucky::Session","name":"Session"}}]},{"html_id":"lucky/Lucky/SkipRouteStyleCheck","path":"Lucky/SkipRouteStyleCheck.html","kind":"module","full_name":"Lucky::SkipRouteStyleCheck","name":"SkipRouteStyleCheck","abstract":false,"locations":[{"filename":"src/lucky/skip_route_style_check.cr","line_number":2,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/skip_route_style_check.cr#L2"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Include this in an action to skip any style checks on routes","summary":"

    Include this in an action to skip any style checks on routes

    ","macros":[{"html_id":"enforce_route_style(*args,**named_args)-macro","name":"enforce_route_style","abstract":false,"args":[{"name":"args","external_name":"args","restriction":""}],"args_string":"(*args, **named_args)","args_html":"(*args, **named_args)","location":{"filename":"src/lucky/skip_route_style_check.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/skip_route_style_check.cr#L3"},"def":{"name":"enforce_route_style","args":[{"name":"args","external_name":"args","restriction":""}],"double_splat":{"name":"named_args","external_name":"named_args","restriction":""},"splat_index":0,"visibility":"Public","body":" \n# no-op\n\n \n"}}]},{"html_id":"lucky/Lucky/SpecialtyTags","path":"Lucky/SpecialtyTags.html","kind":"module","full_name":"Lucky::SpecialtyTags","name":"SpecialtyTags","abstract":false,"locations":[{"filename":"src/lucky/tags/specialty_tags.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"canonical_link(href:String):Nil-instance-method","name":"canonical_link","doc":"Generates a canonical link tag to specify the \"canonical\" or \"preferred\"\nversion of a page.","summary":"

    Generates a canonical link tag to specify the "canonical" or "preferred" version of a page.

    ","abstract":false,"args":[{"name":"href","external_name":"href","restriction":"String"}],"args_string":"(href : String) : Nil","args_html":"(href : String) : Nil","location":{"filename":"src/lucky/tags/specialty_tags.cr","line_number":47,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L47"},"def":{"name":"canonical_link","args":[{"name":"href","external_name":"href","restriction":"String"}],"return_type":"Nil","visibility":"Public","body":"empty_tag(\"link\", href: href, rel: \"canonical\")"}},{"html_id":"css_link(href,**options):Nil-instance-method","name":"css_link","doc":"Generates a link tag for a stylesheet at the path *href*.\n\nAdditional tag attributes can be passed in keyword arguments via *options*.","summary":"

    Generates a link tag for a stylesheet at the path href.

    ","abstract":false,"args":[{"name":"href","external_name":"href","restriction":""}],"args_string":"(href, **options) : Nil","args_html":"(href, **options) : Nil","location":{"filename":"src/lucky/tags/specialty_tags.cr","line_number":10,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L10"},"def":{"name":"css_link","args":[{"name":"href","external_name":"href","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"return_type":"Nil","visibility":"Public","body":"options = {href: href, rel: \"stylesheet\", media: \"screen\"}.merge(options)\nempty_tag(\"link\", **options)\n"}},{"html_id":"html_doctype:Nil-instance-method","name":"html_doctype","doc":"Generates an HTML5 doctype tag.","summary":"

    Generates an HTML5 doctype tag.

    ","abstract":false,"location":{"filename":"src/lucky/tags/specialty_tags.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L3"},"def":{"name":"html_doctype","return_type":"Nil","visibility":"Public","body":"view << \"\""}},{"html_id":"js_link(src,**options):Nil-instance-method","name":"js_link","doc":"Generates a script tag for a file at path *src*.\n\nAdditional tag attributes can be passed in as keyword arguments via\n*options*.","summary":"

    Generates a script tag for a file at path src.

    ","abstract":false,"args":[{"name":"src","external_name":"src","restriction":""}],"args_string":"(src, **options) : Nil","args_html":"(src, **options) : Nil","location":{"filename":"src/lucky/tags/specialty_tags.cr","line_number":19,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L19"},"def":{"name":"js_link","args":[{"name":"src","external_name":"src","restriction":""}],"double_splat":{"name":"options","external_name":"options","restriction":""},"return_type":"Nil","visibility":"Public","body":"options = {src: src}.merge(options)\ntag(\"script\", **options)\n"}},{"html_id":"nbsp(how_many:Int32=1):Nil-instance-method","name":"nbsp","doc":"Generates an escaped HTML ` ` entity for the number of times specified\nby `how_many`. By default it generates 1 non-breaking space character.\n\n```\nlink \"Home\", to: Home::Index\nspan do\n nbsp\n text \"|\"\n nbsp\nend\nlink \"About\", to: About::Index\n```\nWould generate `Home | About`","summary":"

    Generates an escaped HTML &nbsp; entity for the number of times specified by how_many.

    ","abstract":false,"args":[{"name":"how_many","default_value":"1","external_name":"how_many","restriction":"Int32"}],"args_string":"(how_many : Int32 = 1) : Nil","args_html":"(how_many : Int32 = 1) : Nil","location":{"filename":"src/lucky/tags/specialty_tags.cr","line_number":80,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L80"},"def":{"name":"nbsp","args":[{"name":"how_many","default_value":"1","external_name":"how_many","restriction":"Int32"}],"return_type":"Nil","visibility":"Public","body":"how_many.times do\n raw(\" \")\nend\nview\n"}},{"html_id":"raw(string:String):Nil-instance-method","name":"raw","doc":"Adds *string* directly to the rendered HTML with no escaping.\n\nFor example,\n```\nraw \"\" # Renders \"\"\n```\n\nFor custom elements, it's recommended to use the `tag` method.\n\nNOTE: Should **never** be used to render unescaped user-generated data, as\nthis can leave one vulnerable to [cross-site scripting\nattacks](https://en.wikipedia.org/wiki/Cross-site_scripting).","summary":"

    Adds string directly to the rendered HTML with no escaping.

    ","abstract":false,"args":[{"name":"string","external_name":"string","restriction":"String"}],"args_string":"(string : String) : Nil","args_html":"(string : String) : Nil","location":{"filename":"src/lucky/tags/specialty_tags.cr","line_number":63,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L63"},"def":{"name":"raw","args":[{"name":"string","external_name":"string","restriction":"String"}],"return_type":"Nil","visibility":"Public","body":"view << string"}},{"html_id":"responsive_meta_tag(**options):Nil-instance-method","name":"responsive_meta_tag","doc":"Generates a meta tag telling browsers to render the page as wide as the\ndevice screen/window and at an initial scale of 1.\n\nOptional keyword arguments can be used to override these defaults, as well\nas specify additional properties. Please refer to [MDN's documentation on\nthe viewport meta tag](https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag)\nfor usage details.","summary":"

    Generates a meta tag telling browsers to render the page as wide as the device screen/window and at an initial scale of 1.

    ","abstract":false,"location":{"filename":"src/lucky/tags/specialty_tags.cr","line_number":40,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L40"},"def":{"name":"responsive_meta_tag","double_splat":{"name":"options","external_name":"options","restriction":""},"return_type":"Nil","visibility":"Public","body":"options = {width: \"device-width\", initial_scale: \"1\"}.merge(options)\nmeta(name: \"viewport\", content: build_viewport_properties(options))\n"}},{"html_id":"utf8_charset:Nil-instance-method","name":"utf8_charset","doc":"Generates a meta tag to specify the character encoding as UTF-8.\n\nIt is highly encouraged to specify the character encoding as early in a\npage's `` as possible as some browsers only look at the first 1024\nbytes to determine the encoding.","summary":"

    Generates a meta tag to specify the character encoding as UTF-8.

    ","abstract":false,"location":{"filename":"src/lucky/tags/specialty_tags.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/tags/specialty_tags.cr#L29"},"def":{"name":"utf8_charset","return_type":"Nil","visibility":"Public","body":"meta(charset: \"utf-8\")"}}]},{"html_id":"lucky/Lucky/StaticCompressionHandler","path":"Lucky/StaticCompressionHandler.html","kind":"class","full_name":"Lucky::StaticCompressionHandler","name":"StaticCompressionHandler","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/static_compression_handler.cr","line_number":15,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/static_compression_handler.cr#L15"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"included_modules":[{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"doc":"Middleware that serves static files that have been pre-compressed.\nThere can be multiple instances and the first in the middleware stack will take precedence.\nFor example, if you want to serve brotli compressed assets for browsers that support it and\nserve gzip assets for those that don't you would do something like this in your middleware\nin `src/app_server.cr`:\n\n```\n[\n # ...\n Lucky::StaticCompressionHandler.new(\"./public\", file_ext: \"br\", content_encoding: \"br\"),\n Lucky::StaticCompressionHandler.new(\"./public\", file_ext: \"gz\", content_encoding: \"gzip\"),\n # ...\n]\n```","summary":"

    Middleware that serves static files that have been pre-compressed.

    ","constructors":[{"html_id":"new(public_dir:String,file_ext:String=\"gz\",content_encoding:String=\"gzip\")-class-method","name":"new","abstract":false,"args":[{"name":"public_dir","external_name":"public_dir","restriction":"String"},{"name":"file_ext","default_value":"\"gz\"","external_name":"file_ext","restriction":"::String"},{"name":"content_encoding","default_value":"\"gzip\"","external_name":"content_encoding","restriction":"::String"}],"args_string":"(public_dir : String, file_ext : String = \"gz\", content_encoding : String = \"gzip\")","args_html":"(public_dir : String, file_ext : String = "gz", content_encoding : String = "gzip")","location":{"filename":"src/lucky/static_compression_handler.cr","line_number":18,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/static_compression_handler.cr#L18"},"def":{"name":"new","args":[{"name":"public_dir","external_name":"public_dir","restriction":"String"},{"name":"file_ext","default_value":"\"gz\"","external_name":"file_ext","restriction":"::String"},{"name":"content_encoding","default_value":"\"gzip\"","external_name":"content_encoding","restriction":"::String"}],"visibility":"Public","body":"_ = allocate\n_.initialize(public_dir, file_ext, content_encoding)\nif _.responds_to?(:finalize)\n ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"html_id":"call(context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":""}],"args_string":"(context)","args_html":"(context)","location":{"filename":"src/lucky/static_compression_handler.cr","line_number":21,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/static_compression_handler.cr#L21"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":""}],"visibility":"Public","body":"original_path = context.request.path.to_s\nrequest_path = URI.decode(original_path)\nexpanded_path = File.expand_path(request_path, \"/\")\nfile_path = File.join(@public_dir, expanded_path)\ncompressed_path = \"#{file_path}.#{@file_ext}\"\ncontent_type = MIME.from_filename(file_path, \"application/octet-stream\")\nif !(should_compress?(file_path, content_type, compressed_path, context.request.headers))\n call_next(context)\n return\nend\ncontext.response.headers[\"Content-Encoding\"] = @content_encoding\nlast_modified = modification_time(compressed_path)\nadd_cache_headers(context.response.headers, last_modified)\nif cache_request?(context, last_modified)\n context.response.status = :not_modified\n return\nend\ncontext.response.content_type = content_type\ncontext.response.content_length = File.size(compressed_path)\nFile.open(compressed_path) do |file|\n IO.copy(file, context.response)\nend\n"}}]},{"html_id":"lucky/Lucky/StaticFileHandler","path":"Lucky/StaticFileHandler.html","kind":"class","full_name":"Lucky::StaticFileHandler","name":"StaticFileHandler","abstract":false,"superclass":{"html_id":"lucky/HTTP/StaticFileHandler","kind":"class","full_name":"HTTP::StaticFileHandler","name":"StaticFileHandler"},"ancestors":[{"html_id":"lucky/HTTP/StaticFileHandler","kind":"class","full_name":"HTTP::StaticFileHandler","name":"StaticFileHandler"},{"html_id":"lucky/HTTP/Handler","kind":"module","full_name":"HTTP::Handler","name":"Handler"},{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/charms/static_file_handler.cr","line_number":3,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/static_file_handler.cr#L3"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"instance_methods":[{"html_id":"call(context:HTTP::Server::Context)-instance-method","name":"call","abstract":false,"args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"args_string":"(context : HTTP::Server::Context)","args_html":"(context : HTTP::Server::Context)","location":{"filename":"src/charms/static_file_handler.cr","line_number":4,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/charms/static_file_handler.cr#L4"},"def":{"name":"call","args":[{"name":"context","external_name":"context","restriction":"HTTP::Server::Context"}],"visibility":"Public","body":"super(context)"}}]},{"html_id":"lucky/Lucky/Subdomain","path":"Lucky/Subdomain.html","kind":"module","full_name":"Lucky::Subdomain","name":"Subdomain","abstract":false,"ancestors":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"locations":[{"filename":"src/lucky/subdomain.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/subdomain.cr#L1"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"constants":[{"id":"HABITAT_SETTINGS","name":"HABITAT_SETTINGS","value":"[{decl: tld_length : Int32 = 1, example: nil, validation: nil}] of Nil"},{"id":"IP_HOST_REGEXP","name":"IP_HOST_REGEXP","value":"/\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/","doc":"Taken from https://github.com/rails/rails/blob/afc6abb674b51717dac39ea4d9e2252d7e40d060/actionpack/lib/action_dispatch/http/url.rb#L8","summary":"

    Taken from https://github.com/rails/rails/blob/afc6abb674b51717dac39ea4d9e2252d7e40d060/actionpack/lib/action_dispatch/http/url.rb#L8

    "}],"included_modules":[{"html_id":"lucky/Habitat/SettingsHelpers","kind":"module","full_name":"Habitat::SettingsHelpers","name":"SettingsHelpers"},{"html_id":"lucky/Habitat/TempConfig","kind":"module","full_name":"Habitat::TempConfig","name":"TempConfig"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"class_methods":[{"html_id":"configure(&)-class-method","name":"configure","abstract":false,"location":{"filename":"src/lucky/subdomain.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/subdomain.cr#L5"},"def":{"name":"configure","yields":1,"block_arity":1,"visibility":"Public","body":"yield settings"}},{"html_id":"settings-class-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/subdomain.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/subdomain.cr#L5"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"instance_methods":[{"html_id":"settings-instance-method","name":"settings","abstract":false,"location":{"filename":"src/lucky/subdomain.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/subdomain.cr#L5"},"def":{"name":"settings","visibility":"Public","body":"HabitatSettings"}}],"macros":[{"html_id":"require_subdomain(matcher=true)-macro","name":"require_subdomain","doc":"Sets up a subdomain requirement for an action\n\n```\nrequire_subdomain # subdomain required but can be anything\nrequire_subdomain \"admin\" # subdomain required and must equal \"admin\"\nrequire_subdomain /(dev|qa|prod)/ # subdomain required and must match regex\nrequire_subdomain [\"tenant1\", \"tenant2\", /tenant\\d/] # subdomain required and must match one of the items in the array\n```\n\nThe subdomain can then be accessed from within the route block by calling `subdomain`.\n\nIf you don't want to require a subdomain but still want to check if one is passed\nyou can still call `subdomain?` without using `require_subdomain`.\nJust know that `subdomain?` is nilable.","summary":"

    Sets up a subdomain requirement for an action

    ","abstract":false,"args":[{"name":"matcher","default_value":"true","external_name":"matcher","restriction":""}],"args_string":"(matcher = true)","args_html":"(matcher = true)","location":{"filename":"src/lucky/subdomain.cr","line_number":29,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/subdomain.cr#L29"},"def":{"name":"require_subdomain","args":[{"name":"matcher","default_value":"true","external_name":"matcher","restriction":""}],"visibility":"Public","body":" before _match_subdomain\n\n private def subdomain : String\n subdomain?.not_nil!\n \nend\n\n private def _match_subdomain\n _match_subdomain(\n{{ matcher }}\n)\n \nend\n \n"}}],"types":[{"html_id":"lucky/Lucky/Subdomain/HabitatSettings","path":"Lucky/Subdomain/HabitatSettings.html","kind":"class","full_name":"Lucky::Subdomain::HabitatSettings","name":"HabitatSettings","abstract":false,"superclass":{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},"ancestors":[{"html_id":"lucky/Reference","kind":"class","full_name":"Reference","name":"Reference"},{"html_id":"lucky/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[{"filename":"src/lucky/subdomain.cr","line_number":5,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/subdomain.cr#L5"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"namespace":{"html_id":"lucky/Lucky/Subdomain","kind":"module","full_name":"Lucky::Subdomain","name":"Subdomain"},"class_methods":[{"html_id":"tld_length:Int32-class-method","name":"tld_length","abstract":false,"def":{"name":"tld_length","return_type":"Int32","visibility":"Public","body":"@@tld_length.not_nil!"}},{"html_id":"tld_length=(value:Int32)-class-method","name":"tld_length=","abstract":false,"args":[{"name":"value","external_name":"value","restriction":"Int32"}],"args_string":"(value : Int32)","args_html":"(value : Int32)","def":{"name":"tld_length=","args":[{"name":"value","external_name":"value","restriction":"Int32"}],"visibility":"Public","body":"@@tld_length = value"}},{"html_id":"tld_length?-class-method","name":"tld_length?","doc":"Used for checking missing settings on non-nilable types\nIt's advised to use tld_length in your apps to ensure\nthe propper type is checked.","summary":"

    Used for checking missing settings on non-nilable types It's advised to use tld_length in your apps to ensure the propper type is checked.

    ","abstract":false,"def":{"name":"tld_length?","visibility":"Public","body":"@@tld_length"}},{"html_id":"to_h-class-method","name":"to_h","doc":"Generates a hash using the provided values","summary":"

    Generates a hash using the provided values

    ","abstract":false,"def":{"name":"to_h","visibility":"Public","body":"{\"tld_length\" => tld_length}"}}]},{"html_id":"lucky/Lucky/Subdomain/Matcher","path":"Lucky/Subdomain/Matcher.html","kind":"alias","full_name":"Lucky::Subdomain::Matcher","name":"Matcher","abstract":false,"locations":[{"filename":"src/lucky/subdomain.cr","line_number":13,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/subdomain.cr#L13"}],"repository_name":"lucky","program":false,"enum":false,"alias":true,"aliased":"(Array(Regex | String) | Array(Regex) | Array(String) | Bool | Regex | String)","aliased_html":"Array(Regex | String) | Array(Regex) | Array(String) | Bool | Regex | String","const":false,"namespace":{"html_id":"lucky/Lucky/Subdomain","kind":"module","full_name":"Lucky::Subdomain","name":"Subdomain"}}]},{"html_id":"lucky/Lucky/SvgInliner","path":"Lucky/SvgInliner.html","kind":"module","full_name":"Lucky::SvgInliner","name":"SvgInliner","abstract":false,"locations":[{"filename":"src/lucky/page_helpers/svg_inliner.cr","line_number":1,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/svg_inliner.cr#L1"},{"filename":"src/lucky/page_helpers/svg_inliner.cr","line_number":8,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/svg_inliner.cr#L8"}],"repository_name":"lucky","program":false,"enum":false,"alias":false,"const":false,"including_types":[{"html_id":"lucky/Lucky/HTMLBuilder","kind":"module","full_name":"Lucky::HTMLBuilder","name":"HTMLBuilder"}],"namespace":{"html_id":"lucky/Lucky","kind":"module","full_name":"Lucky","name":"Lucky"},"macros":[{"html_id":"inline_svg(path,strip_styling=true)-macro","name":"inline_svg","abstract":false,"args":[{"name":"path","external_name":"path","restriction":""},{"name":"strip_styling","default_value":"true","external_name":"strip_styling","restriction":""}],"args_string":"(path, strip_styling = true)","args_html":"(path, strip_styling = true)","location":{"filename":"src/lucky/page_helpers/svg_inliner.cr","line_number":9,"url":"https://github.com/luckyframework/lucky/blob/8eef897212ebbcbb6f0735ae3d8c3381f44b2449/src/lucky/page_helpers/svg_inliner.cr#L9"},"def":{"name":"inline_svg","args":[{"name":"path","external_name":"path","restriction":""},{"name":"strip_styling","default_value":"true","external_name":"strip_styling","restriction":""}],"visibility":"Public","body":" \n{% svgs_path = (Lucky::SvgInliner.annotation(Lucky::SvgInliner::Path)).args.first\nregex = (Lucky::SvgInliner.annotation(Lucky::SvgInliner::StripRegex)).args.first\nfull_path = \"#{svgs_path.id}/#{path.id}\"\nunless file_exists?(full_path)\n raise(\"SVG file #{full_path.id} is missing\")\nend\nsvg = ((((read_file(full_path)).gsub(/<\\?xml[^>]+>/, \"\")).gsub(/