roast-ai 1.0.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.claude/commands/docs/write-comments.md +1 -1
- data/.rubocop.yml +12 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +149 -34
- data/README.md +56 -3
- data/examples/agent_with_multiple_prompts.rb +27 -0
- data/examples/custom_logging.rb +4 -2
- data/examples/demo/Gemfile.lock +49 -15
- data/examples/plugin-gem-example/Gemfile.lock +19 -15
- data/examples/simple_chat.rb +1 -1
- data/examples/simple_pi_agent.rb +18 -0
- data/internal/rubocop/cop/roast/no_test_class_nesting.rb +126 -0
- data/internal/rubocop/rubocop-roast.yml +6 -0
- data/internal/workflows/maintenance/branch_docs_impact.rb +97 -0
- data/internal/workflows/maintenance/deprecated_models_docs_updater.rb +78 -0
- data/lib/roast/cog/config.rb +1 -1
- data/lib/roast/cog/output.rb +2 -1
- data/lib/roast/cog/registry.rb +3 -3
- data/lib/roast/cog_input_manager.rb +28 -7
- data/lib/roast/cogs/agent/config.rb +2 -2
- data/lib/roast/cogs/agent/input.rb +20 -22
- data/lib/roast/cogs/agent/providers/claude/claude_invocation.rb +13 -5
- data/lib/roast/cogs/agent/providers/claude/messages/result_message.rb +1 -1
- data/lib/roast/cogs/agent/providers/claude/tool_result.rb +344 -4
- data/lib/roast/cogs/agent/providers/claude/tool_use.rb +356 -1
- data/lib/roast/cogs/agent/providers/claude.rb +16 -3
- data/lib/roast/cogs/agent/providers/pi/messages/tool_call_message.rb +60 -0
- data/lib/roast/cogs/agent/providers/pi/messages/tool_result_message.rb +57 -0
- data/lib/roast/cogs/agent/providers/pi/pi_invocation.rb +352 -0
- data/lib/roast/cogs/agent/providers/pi.rb +41 -0
- data/lib/roast/cogs/agent/stats.rb +29 -0
- data/lib/roast/cogs/agent/usage.rb +22 -0
- data/lib/roast/cogs/agent.rb +5 -6
- data/lib/roast/cogs/chat/config.rb +28 -2
- data/lib/roast/cogs/chat.rb +82 -10
- data/lib/roast/event.rb +1 -0
- data/lib/roast/event_monitor.rb +35 -3
- data/lib/roast/log.rb +21 -0
- data/lib/roast/log_formatter.rb +9 -7
- data/lib/roast/version.rb +1 -1
- data/lib/roast.rb +1 -3
- data/roast-ai.gemspec +2 -1
- data/sorbet/rbi/gems/activesupport@8.0.2.rbi +549 -383
- data/sorbet/rbi/gems/addressable@2.8.7.rbi +46 -44
- data/sorbet/rbi/gems/ast@2.4.3.rbi +7 -6
- data/sorbet/rbi/gems/async@2.34.0.rbi +21 -3
- data/sorbet/rbi/gems/benchmark@0.4.1.rbi +7 -7
- data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +198 -1
- data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +405 -328
- data/sorbet/rbi/gems/console@1.34.2.rbi +2 -2
- data/sorbet/rbi/gems/docile@1.4.1.rbi +30 -30
- data/sorbet/rbi/gems/drb@2.2.3.rbi +25 -25
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +2 -0
- data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +2 -77
- data/sorbet/rbi/gems/faraday-retry@2.3.2.rbi +2 -57
- data/sorbet/rbi/gems/faraday@2.14.1.rbi +382 -75
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +1 -110
- data/sorbet/rbi/gems/guard-minitest@2.4.6.rbi +0 -139
- data/sorbet/rbi/gems/guard@2.19.1.rbi +38 -38
- data/sorbet/rbi/gems/hashdiff@1.2.0.rbi +3 -3
- data/sorbet/rbi/gems/i18n@1.14.7.rbi +53 -29
- data/sorbet/rbi/gems/io-event@1.14.0.rbi +67 -10
- data/sorbet/rbi/gems/json@2.18.1.rbi +227 -5
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +83 -0
- data/sorbet/rbi/gems/listen@3.9.0.rbi +7 -7
- data/sorbet/rbi/gems/logger@1.7.0.rbi +3 -3
- data/sorbet/rbi/gems/lumberjack@1.2.10.rbi +21 -21
- data/sorbet/rbi/gems/marcel@1.1.0.rbi +1 -1
- data/sorbet/rbi/gems/minitest-rg@5.3.0.rbi +0 -96
- data/sorbet/rbi/gems/minitest@5.25.5.rbi +1 -16
- data/sorbet/rbi/gems/net-http@0.9.1.rbi +27 -19
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +18 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +20 -20
- data/sorbet/rbi/gems/ostruct@0.6.2.rbi +149 -15
- data/sorbet/rbi/gems/parser@3.3.8.0.rbi +141 -139
- data/sorbet/rbi/gems/prism@1.4.0.rbi +922 -864
- data/sorbet/rbi/gems/public_suffix@6.0.2.rbi +56 -35
- data/sorbet/rbi/gems/racc@1.8.1.rbi +10 -2
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +12 -12
- data/sorbet/rbi/gems/rake@13.3.0.rbi +219 -318
- data/sorbet/rbi/gems/{rbi@0.3.6.rbi → rbi@0.3.9.rbi} +612 -2267
- data/sorbet/rbi/gems/{rbs@3.9.4.rbi → rbs@4.0.0.dev.5.rbi} +2013 -680
- data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +151 -113
- data/sorbet/rbi/gems/require-hooks@0.2.3.rbi +110 -0
- data/sorbet/rbi/gems/rexml@3.4.2.rbi +24 -51
- data/sorbet/rbi/gems/rubocop-ast@1.45.1.rbi +506 -815
- data/sorbet/rbi/gems/rubocop-sorbet@0.10.5.rbi +16 -16
- data/sorbet/rbi/gems/rubocop@1.77.0.rbi +2692 -2327
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -8
- data/sorbet/rbi/gems/ruby_llm@1.8.2.rbi +38 -23
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +1 -1
- data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +2 -131
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +28 -127
- data/sorbet/rbi/gems/{spoom@1.6.3.rbi → spoom@1.7.11.rbi} +1139 -2246
- data/sorbet/rbi/gems/sqlite3@2.9.0.rbi +91 -1
- data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.10.rbi} +721 -835
- data/sorbet/rbi/gems/thor@1.4.0.rbi +53 -53
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
- data/sorbet/rbi/gems/type_toolkit@0.0.5.rbi +49 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +144 -143
- data/sorbet/rbi/gems/uri@1.1.1.rbi +7 -7
- data/sorbet/rbi/gems/vcr@6.3.1.rbi +53 -36
- data/sorbet/rbi/gems/webmock@3.25.1.rbi +38 -13
- data/sorbet/rbi/gems/zeitwerk@2.7.3.rbi +39 -272
- data/sorbet/rbi/shims/lib/roast/execution_context.rbi +3 -3
- data/tutorial/01_your_first_workflow/README.md +9 -5
- data/tutorial/01_your_first_workflow/configured_chat.rb +1 -1
- data/tutorial/02_chaining_cogs/README.md +2 -2
- data/tutorial/02_chaining_cogs/code_review.rb +1 -1
- data/tutorial/02_chaining_cogs/session_resumption.rb +1 -1
- data/tutorial/03_targets_and_params/README.md +1 -1
- data/tutorial/04_configuration_options/README.md +2 -2
- data/tutorial/08_iterative_workflows/README.md +1 -1
- data/tutorial/README.md +1 -1
- metadata +39 -17
- data/docs/AGENT_STEPS.md +0 -288
- data/docs/INSTRUMENTATION.md +0 -243
- data/docs/ITERATION_SYNTAX.md +0 -147
- data/docs/VALIDATION.md +0 -178
- data/lib/roast/nil_assertions.rb +0 -23
- /data/internal/documentation/{architectural-notes.md → comments/architectural-notes.md} +0 -0
- /data/internal/documentation/{doc-comments-external.md → comments/doc-comments-external.md} +0 -0
- /data/internal/documentation/{doc-comments-internal.md → comments/doc-comments-internal.md} +0 -0
- /data/internal/documentation/{doc-comments.md → comments/doc-comments.md} +0 -0
|
@@ -327,7 +327,7 @@ class ActiveSupport::BacktraceCleaner
|
|
|
327
327
|
# Returns the backtrace after all filters and silencers have been run
|
|
328
328
|
# against it. Filters run first, then silencers.
|
|
329
329
|
#
|
|
330
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
|
330
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#57
|
|
331
331
|
def filter(backtrace, kind = T.unsafe(nil)); end
|
|
332
332
|
|
|
333
333
|
# Removes all filters, but leaves in the silencers. Useful if you suddenly
|
|
@@ -621,7 +621,7 @@ class ActiveSupport::BroadcastLogger
|
|
|
621
621
|
# source://activesupport//lib/active_support/broadcast_logger.rb#156
|
|
622
622
|
def local_level=(level); end
|
|
623
623
|
|
|
624
|
-
# source://activesupport//lib/active_support/broadcast_logger.rb#
|
|
624
|
+
# source://activesupport//lib/active_support/broadcast_logger.rb#119
|
|
625
625
|
def log(*_arg0, **_arg1, &_arg2); end
|
|
626
626
|
|
|
627
627
|
# Returns the value of attribute progname.
|
|
@@ -636,13 +636,13 @@ class ActiveSupport::BroadcastLogger
|
|
|
636
636
|
# source://activesupport//lib/active_support/broadcast_logger.rb#80
|
|
637
637
|
def progname=(_arg0); end
|
|
638
638
|
|
|
639
|
-
# source://activesupport//lib/active_support/broadcast_logger.rb#
|
|
639
|
+
# source://activesupport//lib/active_support/broadcast_logger.rb#154
|
|
640
640
|
def sev_threshold=(level); end
|
|
641
641
|
|
|
642
|
-
# source://activesupport//lib/active_support/
|
|
642
|
+
# source://activesupport//lib/active_support/broadcast_logger.rb#75
|
|
643
643
|
def silencer; end
|
|
644
644
|
|
|
645
|
-
# source://activesupport//lib/active_support/
|
|
645
|
+
# source://activesupport//lib/active_support/broadcast_logger.rb#75
|
|
646
646
|
def silencer=(val); end
|
|
647
647
|
|
|
648
648
|
# Remove a logger from the broadcast. When a logger is removed, messages sent to
|
|
@@ -692,10 +692,10 @@ class ActiveSupport::BroadcastLogger
|
|
|
692
692
|
def respond_to_missing?(method, include_all); end
|
|
693
693
|
|
|
694
694
|
class << self
|
|
695
|
-
# source://activesupport//lib/active_support/
|
|
695
|
+
# source://activesupport//lib/active_support/broadcast_logger.rb#75
|
|
696
696
|
def silencer; end
|
|
697
697
|
|
|
698
|
-
# source://activesupport//lib/active_support/
|
|
698
|
+
# source://activesupport//lib/active_support/broadcast_logger.rb#75
|
|
699
699
|
def silencer=(val); end
|
|
700
700
|
end
|
|
701
701
|
end
|
|
@@ -1274,19 +1274,19 @@ ActiveSupport::Cache::MemoryStore::PER_ENTRY_OVERHEAD = T.let(T.unsafe(nil), Int
|
|
|
1274
1274
|
class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store
|
|
1275
1275
|
include ::ActiveSupport::Cache::Strategy::LocalCache
|
|
1276
1276
|
|
|
1277
|
-
# source://activesupport//lib/active_support/cache/
|
|
1277
|
+
# source://activesupport//lib/active_support/cache/null_store.rb#25
|
|
1278
1278
|
def cleanup(options = T.unsafe(nil)); end
|
|
1279
1279
|
|
|
1280
|
-
# source://activesupport//lib/active_support/cache/
|
|
1280
|
+
# source://activesupport//lib/active_support/cache/null_store.rb#22
|
|
1281
1281
|
def clear(options = T.unsafe(nil)); end
|
|
1282
1282
|
|
|
1283
|
-
# source://activesupport//lib/active_support/cache/
|
|
1283
|
+
# source://activesupport//lib/active_support/cache/null_store.rb#31
|
|
1284
1284
|
def decrement(name, amount = T.unsafe(nil), **options); end
|
|
1285
1285
|
|
|
1286
|
-
# source://activesupport//lib/active_support/cache/
|
|
1286
|
+
# source://activesupport//lib/active_support/cache/null_store.rb#34
|
|
1287
1287
|
def delete_matched(matcher, options = T.unsafe(nil)); end
|
|
1288
1288
|
|
|
1289
|
-
# source://activesupport//lib/active_support/cache/
|
|
1289
|
+
# source://activesupport//lib/active_support/cache/null_store.rb#28
|
|
1290
1290
|
def increment(name, amount = T.unsafe(nil), **options); end
|
|
1291
1291
|
|
|
1292
1292
|
# source://activesupport//lib/active_support/cache/null_store.rb#37
|
|
@@ -1294,19 +1294,19 @@ class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store
|
|
|
1294
1294
|
|
|
1295
1295
|
private
|
|
1296
1296
|
|
|
1297
|
-
# source://activesupport//lib/active_support/cache/
|
|
1297
|
+
# source://activesupport//lib/active_support/cache/null_store.rb#57
|
|
1298
1298
|
def delete_entry(key, **_arg1); end
|
|
1299
1299
|
|
|
1300
1300
|
# source://activesupport//lib/active_support/cache/null_store.rb#42
|
|
1301
1301
|
def read_entry(key, **s); end
|
|
1302
1302
|
|
|
1303
|
-
# source://activesupport//lib/active_support/cache/
|
|
1303
|
+
# source://activesupport//lib/active_support/cache/null_store.rb#46
|
|
1304
1304
|
def read_serialized_entry(key, raw: T.unsafe(nil), **options); end
|
|
1305
1305
|
|
|
1306
1306
|
# source://activesupport//lib/active_support/cache/null_store.rb#49
|
|
1307
1307
|
def write_entry(key, entry, **_arg2); end
|
|
1308
1308
|
|
|
1309
|
-
# source://activesupport//lib/active_support/cache/
|
|
1309
|
+
# source://activesupport//lib/active_support/cache/null_store.rb#53
|
|
1310
1310
|
def write_serialized_entry(key, payload, **_arg2); end
|
|
1311
1311
|
|
|
1312
1312
|
class << self
|
|
@@ -1859,7 +1859,7 @@ class ActiveSupport::Cache::Store
|
|
|
1859
1859
|
|
|
1860
1860
|
# Returns the value of attribute silence.
|
|
1861
1861
|
#
|
|
1862
|
-
# source://activesupport//lib/active_support/cache.rb#
|
|
1862
|
+
# source://activesupport//lib/active_support/cache.rb#193
|
|
1863
1863
|
def silence?; end
|
|
1864
1864
|
|
|
1865
1865
|
# Writes the value to the cache with the key. The value must be supported
|
|
@@ -2979,41 +2979,62 @@ class ActiveSupport::Callbacks::Filters::Environment < ::Struct
|
|
|
2979
2979
|
# Returns the value of attribute halted
|
|
2980
2980
|
#
|
|
2981
2981
|
# @return [Object] the current value of halted
|
|
2982
|
+
#
|
|
2983
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
2982
2984
|
def halted; end
|
|
2983
2985
|
|
|
2984
2986
|
# Sets the attribute halted
|
|
2985
2987
|
#
|
|
2986
2988
|
# @param value [Object] the value to set the attribute halted to.
|
|
2987
2989
|
# @return [Object] the newly set value
|
|
2990
|
+
#
|
|
2991
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
2988
2992
|
def halted=(_); end
|
|
2989
2993
|
|
|
2990
2994
|
# Returns the value of attribute target
|
|
2991
2995
|
#
|
|
2992
2996
|
# @return [Object] the current value of target
|
|
2997
|
+
#
|
|
2998
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
2993
2999
|
def target; end
|
|
2994
3000
|
|
|
2995
3001
|
# Sets the attribute target
|
|
2996
3002
|
#
|
|
2997
3003
|
# @param value [Object] the value to set the attribute target to.
|
|
2998
3004
|
# @return [Object] the newly set value
|
|
3005
|
+
#
|
|
3006
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
2999
3007
|
def target=(_); end
|
|
3000
3008
|
|
|
3001
3009
|
# Returns the value of attribute value
|
|
3002
3010
|
#
|
|
3003
3011
|
# @return [Object] the current value of value
|
|
3012
|
+
#
|
|
3013
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
3004
3014
|
def value; end
|
|
3005
3015
|
|
|
3006
3016
|
# Sets the attribute value
|
|
3007
3017
|
#
|
|
3008
3018
|
# @param value [Object] the value to set the attribute value to.
|
|
3009
3019
|
# @return [Object] the newly set value
|
|
3020
|
+
#
|
|
3021
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
3010
3022
|
def value=(_); end
|
|
3011
3023
|
|
|
3012
3024
|
class << self
|
|
3025
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
3013
3026
|
def [](*_arg0); end
|
|
3027
|
+
|
|
3028
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
3014
3029
|
def inspect; end
|
|
3030
|
+
|
|
3031
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
3015
3032
|
def keyword_init?; end
|
|
3033
|
+
|
|
3034
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
3016
3035
|
def members; end
|
|
3036
|
+
|
|
3037
|
+
# source://activesupport//lib/active_support/callbacks.rb#162
|
|
3017
3038
|
def new(*_arg0); end
|
|
3018
3039
|
end
|
|
3019
3040
|
end
|
|
@@ -3521,7 +3542,7 @@ module ActiveSupport::CoreExt::ERBUtil
|
|
|
3521
3542
|
# puts html_escape('is a > 0 & a < 10?')
|
|
3522
3543
|
# # => is a > 0 & a < 10?
|
|
3523
3544
|
#
|
|
3524
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
3545
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#28
|
|
3525
3546
|
def h(s); end
|
|
3526
3547
|
|
|
3527
3548
|
# A utility method for escaping HTML tag characters.
|
|
@@ -3530,13 +3551,13 @@ module ActiveSupport::CoreExt::ERBUtil
|
|
|
3530
3551
|
# puts html_escape('is a > 0 & a < 10?')
|
|
3531
3552
|
# # => is a > 0 & a < 10?
|
|
3532
3553
|
#
|
|
3533
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
3554
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#10
|
|
3534
3555
|
def html_escape(s); end
|
|
3535
3556
|
|
|
3536
3557
|
# HTML escapes strings but doesn't wrap them with an ActiveSupport::SafeBuffer.
|
|
3537
3558
|
# This method is not for public consumption! Seriously!
|
|
3538
3559
|
#
|
|
3539
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
3560
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#18
|
|
3540
3561
|
def unwrapped_html_escape(s); end
|
|
3541
3562
|
end
|
|
3542
3563
|
|
|
@@ -3546,13 +3567,13 @@ module ActiveSupport::CoreExt::ERBUtilPrivate
|
|
|
3546
3567
|
|
|
3547
3568
|
private
|
|
3548
3569
|
|
|
3549
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
3570
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#33
|
|
3550
3571
|
def h(s); end
|
|
3551
3572
|
|
|
3552
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
3573
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#33
|
|
3553
3574
|
def html_escape(s); end
|
|
3554
3575
|
|
|
3555
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
3576
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#33
|
|
3556
3577
|
def unwrapped_html_escape(s); end
|
|
3557
3578
|
end
|
|
3558
3579
|
|
|
@@ -3648,39 +3669,39 @@ class ActiveSupport::CurrentAttributes
|
|
|
3648
3669
|
|
|
3649
3670
|
# @return [CurrentAttributes] a new instance of CurrentAttributes
|
|
3650
3671
|
#
|
|
3651
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3672
|
+
# source://activesupport//lib/active_support/current_attributes.rb#187
|
|
3652
3673
|
def initialize; end
|
|
3653
3674
|
|
|
3654
|
-
# source://activesupport//lib/active_support/
|
|
3675
|
+
# source://activesupport//lib/active_support/current_attributes.rb#93
|
|
3655
3676
|
def __callbacks; end
|
|
3656
3677
|
|
|
3657
|
-
# source://activesupport//lib/active_support/
|
|
3678
|
+
# source://activesupport//lib/active_support/current_attributes.rb#94
|
|
3658
3679
|
def _reset_callbacks; end
|
|
3659
3680
|
|
|
3660
|
-
# source://activesupport//lib/active_support/
|
|
3681
|
+
# source://activesupport//lib/active_support/current_attributes.rb#94
|
|
3661
3682
|
def _run_reset_callbacks(&block); end
|
|
3662
3683
|
|
|
3663
3684
|
# Returns the value of attribute attributes.
|
|
3664
3685
|
#
|
|
3665
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3686
|
+
# source://activesupport//lib/active_support/current_attributes.rb#187
|
|
3666
3687
|
def attributes; end
|
|
3667
3688
|
|
|
3668
3689
|
# Sets the attribute attributes
|
|
3669
3690
|
#
|
|
3670
3691
|
# @param value the value to set the attribute attributes to.
|
|
3671
3692
|
#
|
|
3672
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3693
|
+
# source://activesupport//lib/active_support/current_attributes.rb#187
|
|
3673
3694
|
def attributes=(_arg0); end
|
|
3674
3695
|
|
|
3675
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3696
|
+
# source://activesupport//lib/active_support/current_attributes.rb#187
|
|
3676
3697
|
def defaults; end
|
|
3677
3698
|
|
|
3678
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3699
|
+
# source://activesupport//lib/active_support/current_attributes.rb#187
|
|
3679
3700
|
def defaults?; end
|
|
3680
3701
|
|
|
3681
3702
|
# Reset all attributes. Should be called before and after actions, when used as a per-request singleton.
|
|
3682
3703
|
#
|
|
3683
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3704
|
+
# source://activesupport//lib/active_support/current_attributes.rb#187
|
|
3684
3705
|
def reset; end
|
|
3685
3706
|
|
|
3686
3707
|
# Expose one or more attributes within a block. Old values are returned after the block concludes.
|
|
@@ -3694,30 +3715,30 @@ class ActiveSupport::CurrentAttributes
|
|
|
3694
3715
|
# end
|
|
3695
3716
|
# end
|
|
3696
3717
|
#
|
|
3697
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3718
|
+
# source://activesupport//lib/active_support/current_attributes.rb#187
|
|
3698
3719
|
def set(attributes, &block); end
|
|
3699
3720
|
|
|
3700
3721
|
private
|
|
3701
3722
|
|
|
3702
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3723
|
+
# source://activesupport//lib/active_support/current_attributes.rb#187
|
|
3703
3724
|
def resolve_defaults; end
|
|
3704
3725
|
|
|
3705
3726
|
class << self
|
|
3706
|
-
# source://activesupport//lib/active_support/
|
|
3727
|
+
# source://activesupport//lib/active_support/current_attributes.rb#93
|
|
3707
3728
|
def __callbacks; end
|
|
3708
3729
|
|
|
3709
|
-
# source://activesupport//lib/active_support/
|
|
3730
|
+
# source://activesupport//lib/active_support/current_attributes.rb#93
|
|
3710
3731
|
def __callbacks=(value); end
|
|
3711
3732
|
|
|
3712
|
-
# source://activesupport//lib/active_support/
|
|
3733
|
+
# source://activesupport//lib/active_support/current_attributes.rb#94
|
|
3713
3734
|
def _reset_callbacks; end
|
|
3714
3735
|
|
|
3715
|
-
# source://activesupport//lib/active_support/
|
|
3736
|
+
# source://activesupport//lib/active_support/current_attributes.rb#94
|
|
3716
3737
|
def _reset_callbacks=(value); end
|
|
3717
3738
|
|
|
3718
3739
|
# Calls this callback after #reset is called on the instance. Used for resetting external collaborators, like Time.zone.
|
|
3719
3740
|
#
|
|
3720
|
-
# source://activesupport//lib/active_support/current_attributes.rb#
|
|
3741
|
+
# source://activesupport//lib/active_support/current_attributes.rb#152
|
|
3721
3742
|
def after_reset(*methods, &block); end
|
|
3722
3743
|
|
|
3723
3744
|
# Declares one or more attributes that will be given both class and instance accessor methods.
|
|
@@ -3776,16 +3797,16 @@ class ActiveSupport::CurrentAttributes
|
|
|
3776
3797
|
|
|
3777
3798
|
private
|
|
3778
3799
|
|
|
3779
|
-
# source://activesupport//lib/active_support/
|
|
3800
|
+
# source://activesupport//lib/active_support/current_attributes.rb#93
|
|
3780
3801
|
def __class_attr___callbacks; end
|
|
3781
3802
|
|
|
3782
|
-
# source://activesupport//lib/active_support/
|
|
3803
|
+
# source://activesupport//lib/active_support/current_attributes.rb#93
|
|
3783
3804
|
def __class_attr___callbacks=(new_value); end
|
|
3784
3805
|
|
|
3785
|
-
# source://activesupport//lib/active_support/
|
|
3806
|
+
# source://activesupport//lib/active_support/current_attributes.rb#195
|
|
3786
3807
|
def __class_attr_defaults; end
|
|
3787
3808
|
|
|
3788
|
-
# source://activesupport//lib/active_support/
|
|
3809
|
+
# source://activesupport//lib/active_support/current_attributes.rb#195
|
|
3789
3810
|
def __class_attr_defaults=(new_value); end
|
|
3790
3811
|
|
|
3791
3812
|
# source://activesupport//lib/active_support/current_attributes.rb#170
|
|
@@ -4697,6 +4718,7 @@ class ActiveSupport::DescendantsTracker::WeakSet < ::ObjectSpace::WeakMap
|
|
|
4697
4718
|
# source://activesupport//lib/active_support/descendants_tracker.rb#23
|
|
4698
4719
|
def <<(object); end
|
|
4699
4720
|
|
|
4721
|
+
# source://activesupport//lib/active_support/descendants_tracker.rb#21
|
|
4700
4722
|
def to_a; end
|
|
4701
4723
|
end
|
|
4702
4724
|
|
|
@@ -4785,7 +4807,7 @@ class ActiveSupport::Duration
|
|
|
4785
4807
|
# Calculates a new Time or Date that is as far in the future
|
|
4786
4808
|
# as this Duration represents.
|
|
4787
4809
|
#
|
|
4788
|
-
# source://activesupport//lib/active_support/duration.rb#
|
|
4810
|
+
# source://activesupport//lib/active_support/duration.rb#440
|
|
4789
4811
|
def after(time = T.unsafe(nil)); end
|
|
4790
4812
|
|
|
4791
4813
|
# Calculates a new Time or Date that is as far in the past
|
|
@@ -4800,7 +4822,7 @@ class ActiveSupport::Duration
|
|
|
4800
4822
|
# Calculates a new Time or Date that is as far in the past
|
|
4801
4823
|
# as this Duration represents.
|
|
4802
4824
|
#
|
|
4803
|
-
# source://activesupport//lib/active_support/duration.rb#
|
|
4825
|
+
# source://activesupport//lib/active_support/duration.rb#448
|
|
4804
4826
|
def before(time = T.unsafe(nil)); end
|
|
4805
4827
|
|
|
4806
4828
|
# source://activesupport//lib/active_support/duration.rb#245
|
|
@@ -4820,7 +4842,7 @@ class ActiveSupport::Duration
|
|
|
4820
4842
|
# Calculates a new Time or Date that is as far in the future
|
|
4821
4843
|
# as this Duration represents.
|
|
4822
4844
|
#
|
|
4823
|
-
# source://activesupport//lib/active_support/duration.rb#
|
|
4845
|
+
# source://activesupport//lib/active_support/duration.rb#439
|
|
4824
4846
|
def from_now(time = T.unsafe(nil)); end
|
|
4825
4847
|
|
|
4826
4848
|
# source://activesupport//lib/active_support/duration.rb#430
|
|
@@ -4875,7 +4897,7 @@ class ActiveSupport::Duration
|
|
|
4875
4897
|
# Time[https://docs.ruby-lang.org/en/master/Time.html] should be used for precision
|
|
4876
4898
|
# date and time arithmetic.
|
|
4877
4899
|
#
|
|
4878
|
-
# source://activesupport//lib/active_support/duration.rb#
|
|
4900
|
+
# source://activesupport//lib/active_support/duration.rb#380
|
|
4879
4901
|
def in_seconds; end
|
|
4880
4902
|
|
|
4881
4903
|
# Returns the amount of weeks a duration covers as a float
|
|
@@ -4916,7 +4938,7 @@ class ActiveSupport::Duration
|
|
|
4916
4938
|
|
|
4917
4939
|
# @return [Boolean]
|
|
4918
4940
|
#
|
|
4919
|
-
# source://activesupport//lib/active_support/duration.rb#
|
|
4941
|
+
# source://activesupport//lib/active_support/duration.rb#333
|
|
4920
4942
|
def kind_of?(klass); end
|
|
4921
4943
|
|
|
4922
4944
|
# source://activesupport//lib/active_support/duration.rb#224
|
|
@@ -4977,7 +4999,7 @@ class ActiveSupport::Duration
|
|
|
4977
4999
|
# Calculates a new Time or Date that is as far in the past
|
|
4978
5000
|
# as this Duration represents.
|
|
4979
5001
|
#
|
|
4980
|
-
# source://activesupport//lib/active_support/duration.rb#
|
|
5002
|
+
# source://activesupport//lib/active_support/duration.rb#447
|
|
4981
5003
|
def until(time = T.unsafe(nil)); end
|
|
4982
5004
|
|
|
4983
5005
|
# Returns the value of attribute value.
|
|
@@ -5320,7 +5342,7 @@ end
|
|
|
5320
5342
|
# source://activesupport//lib/active_support/core_ext/enumerable.rb#25
|
|
5321
5343
|
ActiveSupport::EnumerableCoreExt::SoleItemExpectedError = Enumerable::SoleItemExpectedError
|
|
5322
5344
|
|
|
5323
|
-
# source://activesupport//lib/active_support/environment_inquirer.rb#
|
|
5345
|
+
# source://activesupport//lib/active_support/environment_inquirer.rb#9
|
|
5324
5346
|
class ActiveSupport::EnvironmentInquirer < ::ActiveSupport::StringInquirer
|
|
5325
5347
|
# @raise [ArgumentError]
|
|
5326
5348
|
# @return [EnvironmentInquirer] a new instance of EnvironmentInquirer
|
|
@@ -5328,7 +5350,7 @@ class ActiveSupport::EnvironmentInquirer < ::ActiveSupport::StringInquirer
|
|
|
5328
5350
|
# source://activesupport//lib/active_support/environment_inquirer.rb#15
|
|
5329
5351
|
def initialize(env); end
|
|
5330
5352
|
|
|
5331
|
-
# source://activesupport//lib/active_support/environment_inquirer.rb#
|
|
5353
|
+
# source://activesupport//lib/active_support/environment_inquirer.rb#28
|
|
5332
5354
|
def development?; end
|
|
5333
5355
|
|
|
5334
5356
|
# Returns true if we're in the development or test environment.
|
|
@@ -5338,10 +5360,10 @@ class ActiveSupport::EnvironmentInquirer < ::ActiveSupport::StringInquirer
|
|
|
5338
5360
|
# source://activesupport//lib/active_support/environment_inquirer.rb#36
|
|
5339
5361
|
def local?; end
|
|
5340
5362
|
|
|
5341
|
-
# source://activesupport//lib/active_support/environment_inquirer.rb#
|
|
5363
|
+
# source://activesupport//lib/active_support/environment_inquirer.rb#28
|
|
5342
5364
|
def production?; end
|
|
5343
5365
|
|
|
5344
|
-
# source://activesupport//lib/active_support/environment_inquirer.rb#
|
|
5366
|
+
# source://activesupport//lib/active_support/environment_inquirer.rb#28
|
|
5345
5367
|
def test?; end
|
|
5346
5368
|
end
|
|
5347
5369
|
|
|
@@ -5716,19 +5738,19 @@ class ActiveSupport::ExecutionWrapper
|
|
|
5716
5738
|
extend ::ActiveSupport::Callbacks::ClassMethods
|
|
5717
5739
|
extend ::ActiveSupport::DescendantsTracker
|
|
5718
5740
|
|
|
5719
|
-
# source://activesupport//lib/active_support/
|
|
5741
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#8
|
|
5720
5742
|
def __callbacks; end
|
|
5721
5743
|
|
|
5722
|
-
# source://activesupport//lib/active_support/
|
|
5744
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#15
|
|
5723
5745
|
def _complete_callbacks; end
|
|
5724
5746
|
|
|
5725
|
-
# source://activesupport//lib/active_support/
|
|
5747
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#14
|
|
5726
5748
|
def _run_callbacks; end
|
|
5727
5749
|
|
|
5728
|
-
# source://activesupport//lib/active_support/
|
|
5750
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#15
|
|
5729
5751
|
def _run_complete_callbacks(&block); end
|
|
5730
5752
|
|
|
5731
|
-
# source://activesupport//lib/active_support/
|
|
5753
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#14
|
|
5732
5754
|
def _run_run_callbacks(&block); end
|
|
5733
5755
|
|
|
5734
5756
|
# source://activesupport//lib/active_support/execution_wrapper.rb#141
|
|
@@ -5754,22 +5776,22 @@ class ActiveSupport::ExecutionWrapper
|
|
|
5754
5776
|
def hook_state; end
|
|
5755
5777
|
|
|
5756
5778
|
class << self
|
|
5757
|
-
# source://activesupport//lib/active_support/
|
|
5779
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#8
|
|
5758
5780
|
def __callbacks; end
|
|
5759
5781
|
|
|
5760
|
-
# source://activesupport//lib/active_support/
|
|
5782
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#8
|
|
5761
5783
|
def __callbacks=(value); end
|
|
5762
5784
|
|
|
5763
|
-
# source://activesupport//lib/active_support/
|
|
5785
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#15
|
|
5764
5786
|
def _complete_callbacks; end
|
|
5765
5787
|
|
|
5766
|
-
# source://activesupport//lib/active_support/
|
|
5788
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#15
|
|
5767
5789
|
def _complete_callbacks=(value); end
|
|
5768
5790
|
|
|
5769
|
-
# source://activesupport//lib/active_support/
|
|
5791
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#14
|
|
5770
5792
|
def _run_callbacks; end
|
|
5771
5793
|
|
|
5772
|
-
# source://activesupport//lib/active_support/
|
|
5794
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#14
|
|
5773
5795
|
def _run_callbacks=(value); end
|
|
5774
5796
|
|
|
5775
5797
|
# @return [Boolean]
|
|
@@ -5821,17 +5843,17 @@ class ActiveSupport::ExecutionWrapper
|
|
|
5821
5843
|
|
|
5822
5844
|
private
|
|
5823
5845
|
|
|
5824
|
-
# source://activesupport//lib/active_support/
|
|
5846
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#8
|
|
5825
5847
|
def __class_attr___callbacks; end
|
|
5826
5848
|
|
|
5827
|
-
# source://activesupport//lib/active_support/
|
|
5849
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#8
|
|
5828
5850
|
def __class_attr___callbacks=(new_value); end
|
|
5829
5851
|
end
|
|
5830
5852
|
end
|
|
5831
5853
|
|
|
5832
5854
|
# source://activesupport//lib/active_support/execution_wrapper.rb#32
|
|
5833
5855
|
class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct
|
|
5834
|
-
# source://activesupport//lib/active_support/execution_wrapper.rb#
|
|
5856
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#39
|
|
5835
5857
|
def after(target); end
|
|
5836
5858
|
|
|
5837
5859
|
# source://activesupport//lib/active_support/execution_wrapper.rb#33
|
|
@@ -5840,19 +5862,32 @@ class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct
|
|
|
5840
5862
|
# Returns the value of attribute hook
|
|
5841
5863
|
#
|
|
5842
5864
|
# @return [Object] the current value of hook
|
|
5865
|
+
#
|
|
5866
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#32
|
|
5843
5867
|
def hook; end
|
|
5844
5868
|
|
|
5845
5869
|
# Sets the attribute hook
|
|
5846
5870
|
#
|
|
5847
5871
|
# @param value [Object] the value to set the attribute hook to.
|
|
5848
5872
|
# @return [Object] the newly set value
|
|
5873
|
+
#
|
|
5874
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#32
|
|
5849
5875
|
def hook=(_); end
|
|
5850
5876
|
|
|
5851
5877
|
class << self
|
|
5878
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#32
|
|
5852
5879
|
def [](*_arg0); end
|
|
5880
|
+
|
|
5881
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#32
|
|
5853
5882
|
def inspect; end
|
|
5883
|
+
|
|
5884
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#32
|
|
5854
5885
|
def keyword_init?; end
|
|
5886
|
+
|
|
5887
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#32
|
|
5855
5888
|
def members; end
|
|
5889
|
+
|
|
5890
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#32
|
|
5856
5891
|
def new(*_arg0); end
|
|
5857
5892
|
end
|
|
5858
5893
|
end
|
|
@@ -5868,19 +5903,32 @@ class ActiveSupport::ExecutionWrapper::RunHook < ::Struct
|
|
|
5868
5903
|
# Returns the value of attribute hook
|
|
5869
5904
|
#
|
|
5870
5905
|
# @return [Object] the current value of hook
|
|
5906
|
+
#
|
|
5907
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#25
|
|
5871
5908
|
def hook; end
|
|
5872
5909
|
|
|
5873
5910
|
# Sets the attribute hook
|
|
5874
5911
|
#
|
|
5875
5912
|
# @param value [Object] the value to set the attribute hook to.
|
|
5876
5913
|
# @return [Object] the newly set value
|
|
5914
|
+
#
|
|
5915
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#25
|
|
5877
5916
|
def hook=(_); end
|
|
5878
5917
|
|
|
5879
5918
|
class << self
|
|
5919
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#25
|
|
5880
5920
|
def [](*_arg0); end
|
|
5921
|
+
|
|
5922
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#25
|
|
5881
5923
|
def inspect; end
|
|
5924
|
+
|
|
5925
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#25
|
|
5882
5926
|
def keyword_init?; end
|
|
5927
|
+
|
|
5928
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#25
|
|
5883
5929
|
def members; end
|
|
5930
|
+
|
|
5931
|
+
# source://activesupport//lib/active_support/execution_wrapper.rb#25
|
|
5884
5932
|
def new(*_arg0); end
|
|
5885
5933
|
end
|
|
5886
5934
|
end
|
|
@@ -6235,7 +6283,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash
|
|
|
6235
6283
|
#
|
|
6236
6284
|
# @return [Boolean]
|
|
6237
6285
|
#
|
|
6238
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6286
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#156
|
|
6239
6287
|
def has_key?(key); end
|
|
6240
6288
|
|
|
6241
6289
|
# Checks the hash for a key matching the argument passed in:
|
|
@@ -6247,7 +6295,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash
|
|
|
6247
6295
|
#
|
|
6248
6296
|
# @return [Boolean]
|
|
6249
6297
|
#
|
|
6250
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6298
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#155
|
|
6251
6299
|
def include?(key); end
|
|
6252
6300
|
|
|
6253
6301
|
# Checks the hash for a key matching the argument passed in:
|
|
@@ -6271,7 +6319,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash
|
|
|
6271
6319
|
#
|
|
6272
6320
|
# @return [Boolean]
|
|
6273
6321
|
#
|
|
6274
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6322
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#157
|
|
6275
6323
|
def member?(key); end
|
|
6276
6324
|
|
|
6277
6325
|
# This method has the same semantics of +update+, except it does not
|
|
@@ -6310,13 +6358,16 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash
|
|
|
6310
6358
|
# hash_2['key'] = 12
|
|
6311
6359
|
# hash_1.update(hash_2) { |key, old, new| old + new } # => {"key"=>22}
|
|
6312
6360
|
#
|
|
6313
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6361
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#143
|
|
6314
6362
|
def merge!(*other_hashes, &block); end
|
|
6315
6363
|
|
|
6316
6364
|
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#66
|
|
6317
6365
|
def nested_under_indifferent_access; end
|
|
6318
6366
|
|
|
6367
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#90
|
|
6319
6368
|
def regular_update(*_arg0); end
|
|
6369
|
+
|
|
6370
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#89
|
|
6320
6371
|
def regular_writer(_arg0, _arg1); end
|
|
6321
6372
|
|
|
6322
6373
|
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#328
|
|
@@ -6361,7 +6412,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash
|
|
|
6361
6412
|
#
|
|
6362
6413
|
# This value can be later fetched using either +:key+ or <tt>'key'</tt>.
|
|
6363
6414
|
#
|
|
6364
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6415
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#102
|
|
6365
6416
|
def store(key, value); end
|
|
6366
6417
|
|
|
6367
6418
|
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#318
|
|
@@ -6372,7 +6423,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash
|
|
|
6372
6423
|
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#376
|
|
6373
6424
|
def to_hash; end
|
|
6374
6425
|
|
|
6375
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6426
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#319
|
|
6376
6427
|
def to_options; end
|
|
6377
6428
|
|
|
6378
6429
|
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#321
|
|
@@ -6439,12 +6490,12 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash
|
|
|
6439
6490
|
# hash['a'] = nil
|
|
6440
6491
|
# hash.reverse_merge(a: 0, b: 1) # => {"a"=>nil, "b"=>1}
|
|
6441
6492
|
#
|
|
6442
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6493
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#286
|
|
6443
6494
|
def with_defaults(other_hash); end
|
|
6444
6495
|
|
|
6445
6496
|
# Same semantics as +reverse_merge+ but modifies the receiver in-place.
|
|
6446
6497
|
#
|
|
6447
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6498
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#292
|
|
6448
6499
|
def with_defaults!(other_hash); end
|
|
6449
6500
|
|
|
6450
6501
|
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#62
|
|
@@ -6455,7 +6506,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash
|
|
|
6455
6506
|
# hash.except(:a, "b") # => {c: 10}.with_indifferent_access
|
|
6456
6507
|
# hash # => { a: "x", b: "y", c: 10 }.with_indifferent_access
|
|
6457
6508
|
#
|
|
6458
|
-
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#
|
|
6509
|
+
# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#314
|
|
6459
6510
|
def without(*keys); end
|
|
6460
6511
|
|
|
6461
6512
|
private
|
|
@@ -7179,6 +7230,7 @@ class ActiveSupport::InheritableOptions < ::ActiveSupport::OrderedOptions
|
|
|
7179
7230
|
|
|
7180
7231
|
private
|
|
7181
7232
|
|
|
7233
|
+
# source://activesupport//lib/active_support/ordered_options.rb#123
|
|
7182
7234
|
def own_key?(_arg0); end
|
|
7183
7235
|
end
|
|
7184
7236
|
|
|
@@ -7267,7 +7319,7 @@ module ActiveSupport::JSON
|
|
|
7267
7319
|
# ActiveSupport::JSON.encode({ key: "<>&" }, escape_html_entities: false)
|
|
7268
7320
|
# # => "{\"key\":\"<>&\"}"
|
|
7269
7321
|
#
|
|
7270
|
-
# source://activesupport//lib/active_support/json/encoding.rb#
|
|
7322
|
+
# source://activesupport//lib/active_support/json/encoding.rb#43
|
|
7271
7323
|
def dump(value, options = T.unsafe(nil)); end
|
|
7272
7324
|
|
|
7273
7325
|
# Dumps objects in JSON (JavaScript Object Notation).
|
|
@@ -7303,7 +7355,7 @@ module ActiveSupport::JSON
|
|
|
7303
7355
|
# ActiveSupport::JSON.decode("{\"team\":\"rails\",\"players\":\"36\"}")
|
|
7304
7356
|
# => {"team" => "rails", "players" => "36"}
|
|
7305
7357
|
#
|
|
7306
|
-
# source://activesupport//lib/active_support/json/decoding.rb#
|
|
7358
|
+
# source://activesupport//lib/active_support/json/decoding.rb#31
|
|
7307
7359
|
def load(json); end
|
|
7308
7360
|
|
|
7309
7361
|
# Returns the class of the error that will be raised when there is an
|
|
@@ -7613,19 +7665,19 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
|
|
|
7613
7665
|
# source://activesupport//lib/active_support/log_subscriber.rb#83
|
|
7614
7666
|
def colorize_logging=(val); end
|
|
7615
7667
|
|
|
7616
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
|
7668
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#162
|
|
7617
7669
|
def debug(progname = T.unsafe(nil), &block); end
|
|
7618
7670
|
|
|
7619
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
|
7671
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#162
|
|
7620
7672
|
def error(progname = T.unsafe(nil), &block); end
|
|
7621
7673
|
|
|
7622
7674
|
# source://activesupport//lib/active_support/log_subscriber.rb#158
|
|
7623
7675
|
def event_levels=(_arg0); end
|
|
7624
7676
|
|
|
7625
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
|
7677
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#162
|
|
7626
7678
|
def fatal(progname = T.unsafe(nil), &block); end
|
|
7627
7679
|
|
|
7628
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
|
7680
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#162
|
|
7629
7681
|
def info(progname = T.unsafe(nil), &block); end
|
|
7630
7682
|
|
|
7631
7683
|
# source://activesupport//lib/active_support/log_subscriber.rb#138
|
|
@@ -7639,10 +7691,10 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
|
|
|
7639
7691
|
# source://activesupport//lib/active_support/log_subscriber.rb#142
|
|
7640
7692
|
def silenced?(event); end
|
|
7641
7693
|
|
|
7642
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
|
7694
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#162
|
|
7643
7695
|
def unknown(progname = T.unsafe(nil), &block); end
|
|
7644
7696
|
|
|
7645
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
|
7697
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#162
|
|
7646
7698
|
def warn(progname = T.unsafe(nil), &block); end
|
|
7647
7699
|
|
|
7648
7700
|
private
|
|
@@ -7699,10 +7751,10 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
|
|
|
7699
7751
|
|
|
7700
7752
|
private
|
|
7701
7753
|
|
|
7702
|
-
# source://activesupport//lib/active_support/
|
|
7754
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#84
|
|
7703
7755
|
def __class_attr_log_levels; end
|
|
7704
7756
|
|
|
7705
|
-
# source://activesupport//lib/active_support/
|
|
7757
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#84
|
|
7706
7758
|
def __class_attr_log_levels=(new_value); end
|
|
7707
7759
|
|
|
7708
7760
|
# source://activesupport//lib/active_support/log_subscriber.rb#117
|
|
@@ -7760,10 +7812,10 @@ class ActiveSupport::Logger < ::Logger
|
|
|
7760
7812
|
# source://activesupport//lib/active_support/logger.rb#33
|
|
7761
7813
|
def initialize(*args, **kwargs); end
|
|
7762
7814
|
|
|
7763
|
-
# source://activesupport//lib/active_support/
|
|
7815
|
+
# source://activesupport//lib/active_support/logger.rb#9
|
|
7764
7816
|
def silencer; end
|
|
7765
7817
|
|
|
7766
|
-
# source://activesupport//lib/active_support/
|
|
7818
|
+
# source://activesupport//lib/active_support/logger.rb#9
|
|
7767
7819
|
def silencer=(val); end
|
|
7768
7820
|
|
|
7769
7821
|
class << self
|
|
@@ -7785,10 +7837,10 @@ class ActiveSupport::Logger < ::Logger
|
|
|
7785
7837
|
# source://activesupport//lib/active_support/logger.rb#47
|
|
7786
7838
|
def normalize_sources(sources); end
|
|
7787
7839
|
|
|
7788
|
-
# source://activesupport//lib/active_support/
|
|
7840
|
+
# source://activesupport//lib/active_support/logger.rb#9
|
|
7789
7841
|
def silencer; end
|
|
7790
7842
|
|
|
7791
|
-
# source://activesupport//lib/active_support/
|
|
7843
|
+
# source://activesupport//lib/active_support/logger.rb#9
|
|
7792
7844
|
def silencer=(val); end
|
|
7793
7845
|
end
|
|
7794
7846
|
end
|
|
@@ -7987,7 +8039,7 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec
|
|
|
7987
8039
|
#
|
|
7988
8040
|
# @return [MessageEncryptor] a new instance of MessageEncryptor
|
|
7989
8041
|
#
|
|
7990
|
-
# source://activesupport//lib/active_support/
|
|
8042
|
+
# source://activesupport//lib/active_support/message_encryptor.rb#183
|
|
7991
8043
|
def initialize(*args, on_rotation: T.unsafe(nil), **options); end
|
|
7992
8044
|
|
|
7993
8045
|
# source://activesupport//lib/active_support/message_encryptor.rb#256
|
|
@@ -8047,7 +8099,7 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec
|
|
|
8047
8099
|
# source://activesupport//lib/active_support/message_encryptor.rb#264
|
|
8048
8100
|
def inspect; end
|
|
8049
8101
|
|
|
8050
|
-
# source://activesupport//lib/active_support/
|
|
8102
|
+
# source://activesupport//lib/active_support/message_encryptor.rb#260
|
|
8051
8103
|
def read_message(message, on_rotation: T.unsafe(nil), **options); end
|
|
8052
8104
|
|
|
8053
8105
|
private
|
|
@@ -8059,7 +8111,7 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec
|
|
|
8059
8111
|
|
|
8060
8112
|
# Returns the value of attribute aead_mode.
|
|
8061
8113
|
#
|
|
8062
|
-
# source://activesupport//lib/active_support/message_encryptor.rb#
|
|
8114
|
+
# source://activesupport//lib/active_support/message_encryptor.rb#372
|
|
8063
8115
|
def aead_mode?; end
|
|
8064
8116
|
|
|
8065
8117
|
# source://activesupport//lib/active_support/message_encryptor.rb#295
|
|
@@ -8300,7 +8352,7 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec
|
|
|
8300
8352
|
# @raise [ArgumentError]
|
|
8301
8353
|
# @return [MessageVerifier] a new instance of MessageVerifier
|
|
8302
8354
|
#
|
|
8303
|
-
# source://activesupport//lib/active_support/
|
|
8355
|
+
# source://activesupport//lib/active_support/message_verifier.rb#167
|
|
8304
8356
|
def initialize(*args, on_rotation: T.unsafe(nil), **options); end
|
|
8305
8357
|
|
|
8306
8358
|
# source://activesupport//lib/active_support/message_verifier.rb#310
|
|
@@ -8347,7 +8399,7 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec
|
|
|
8347
8399
|
# source://activesupport//lib/active_support/message_verifier.rb#318
|
|
8348
8400
|
def inspect; end
|
|
8349
8401
|
|
|
8350
|
-
# source://activesupport//lib/active_support/
|
|
8402
|
+
# source://activesupport//lib/active_support/message_verifier.rb#314
|
|
8351
8403
|
def read_message(message, on_rotation: T.unsafe(nil), **options); end
|
|
8352
8404
|
|
|
8353
8405
|
# Checks if a signed message could have been generated by signing an object
|
|
@@ -8535,10 +8587,10 @@ class ActiveSupport::Messages::Codec
|
|
|
8535
8587
|
|
|
8536
8588
|
private
|
|
8537
8589
|
|
|
8538
|
-
# source://activesupport//lib/active_support/
|
|
8590
|
+
# source://activesupport//lib/active_support/messages/codec.rb#12
|
|
8539
8591
|
def __class_attr_default_serializer; end
|
|
8540
8592
|
|
|
8541
|
-
# source://activesupport//lib/active_support/
|
|
8593
|
+
# source://activesupport//lib/active_support/messages/codec.rb#12
|
|
8542
8594
|
def __class_attr_default_serializer=(new_value); end
|
|
8543
8595
|
end
|
|
8544
8596
|
end
|
|
@@ -9001,7 +9053,7 @@ class ActiveSupport::Multibyte::Chars
|
|
|
9001
9053
|
# "ÉL QUE SE ENTERÓ".mb_chars.titleize.to_s # => "Él Que Se Enteró"
|
|
9002
9054
|
# "日本語".mb_chars.titleize.to_s # => "日本語"
|
|
9003
9055
|
#
|
|
9004
|
-
# source://activesupport//lib/active_support/multibyte/chars.rb#
|
|
9056
|
+
# source://activesupport//lib/active_support/multibyte/chars.rb#129
|
|
9005
9057
|
def titlecase; end
|
|
9006
9058
|
|
|
9007
9059
|
# Capitalizes the first letter of every word, when possible.
|
|
@@ -9014,12 +9066,12 @@ class ActiveSupport::Multibyte::Chars
|
|
|
9014
9066
|
|
|
9015
9067
|
# Returns the value of attribute wrapped_string.
|
|
9016
9068
|
#
|
|
9017
|
-
# source://activesupport//lib/active_support/multibyte/chars.rb#
|
|
9069
|
+
# source://activesupport//lib/active_support/multibyte/chars.rb#50
|
|
9018
9070
|
def to_s; end
|
|
9019
9071
|
|
|
9020
9072
|
# Returns the value of attribute wrapped_string.
|
|
9021
9073
|
#
|
|
9022
|
-
# source://activesupport//lib/active_support/multibyte/chars.rb#
|
|
9074
|
+
# source://activesupport//lib/active_support/multibyte/chars.rb#51
|
|
9023
9075
|
def to_str; end
|
|
9024
9076
|
|
|
9025
9077
|
# Returns the value of attribute wrapped_string.
|
|
@@ -10383,16 +10435,16 @@ class ActiveSupport::NumberHelper::NumberConverter
|
|
|
10383
10435
|
|
|
10384
10436
|
private
|
|
10385
10437
|
|
|
10386
|
-
# source://activesupport//lib/active_support/
|
|
10438
|
+
# source://activesupport//lib/active_support/number_helper/number_converter.rb#14
|
|
10387
10439
|
def __class_attr_namespace; end
|
|
10388
10440
|
|
|
10389
|
-
# source://activesupport//lib/active_support/
|
|
10441
|
+
# source://activesupport//lib/active_support/number_helper/number_converter.rb#14
|
|
10390
10442
|
def __class_attr_namespace=(new_value); end
|
|
10391
10443
|
|
|
10392
|
-
# source://activesupport//lib/active_support/
|
|
10444
|
+
# source://activesupport//lib/active_support/number_helper/number_converter.rb#17
|
|
10393
10445
|
def __class_attr_validate_float; end
|
|
10394
10446
|
|
|
10395
|
-
# source://activesupport//lib/active_support/
|
|
10447
|
+
# source://activesupport//lib/active_support/number_helper/number_converter.rb#17
|
|
10396
10448
|
def __class_attr_validate_float=(new_value); end
|
|
10397
10449
|
end
|
|
10398
10450
|
end
|
|
@@ -10416,10 +10468,10 @@ class ActiveSupport::NumberHelper::NumberToCurrencyConverter < ::ActiveSupport::
|
|
|
10416
10468
|
class << self
|
|
10417
10469
|
private
|
|
10418
10470
|
|
|
10419
|
-
# source://activesupport//lib/active_support/
|
|
10471
|
+
# source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#8
|
|
10420
10472
|
def __class_attr_namespace; end
|
|
10421
10473
|
|
|
10422
|
-
# source://activesupport//lib/active_support/
|
|
10474
|
+
# source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#8
|
|
10423
10475
|
def __class_attr_namespace=(new_value); end
|
|
10424
10476
|
end
|
|
10425
10477
|
end
|
|
@@ -10440,10 +10492,10 @@ class ActiveSupport::NumberHelper::NumberToDelimitedConverter < ::ActiveSupport:
|
|
|
10440
10492
|
class << self
|
|
10441
10493
|
private
|
|
10442
10494
|
|
|
10443
|
-
# source://activesupport//lib/active_support/
|
|
10495
|
+
# source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#8
|
|
10444
10496
|
def __class_attr_validate_float; end
|
|
10445
10497
|
|
|
10446
|
-
# source://activesupport//lib/active_support/
|
|
10498
|
+
# source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#8
|
|
10447
10499
|
def __class_attr_validate_float=(new_value); end
|
|
10448
10500
|
end
|
|
10449
10501
|
end
|
|
@@ -10473,16 +10525,16 @@ class ActiveSupport::NumberHelper::NumberToHumanConverter < ::ActiveSupport::Num
|
|
|
10473
10525
|
class << self
|
|
10474
10526
|
private
|
|
10475
10527
|
|
|
10476
|
-
# source://activesupport//lib/active_support/
|
|
10528
|
+
# source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#12
|
|
10477
10529
|
def __class_attr_namespace; end
|
|
10478
10530
|
|
|
10479
|
-
# source://activesupport//lib/active_support/
|
|
10531
|
+
# source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#12
|
|
10480
10532
|
def __class_attr_namespace=(new_value); end
|
|
10481
10533
|
|
|
10482
|
-
# source://activesupport//lib/active_support/
|
|
10534
|
+
# source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#13
|
|
10483
10535
|
def __class_attr_validate_float; end
|
|
10484
10536
|
|
|
10485
|
-
# source://activesupport//lib/active_support/
|
|
10537
|
+
# source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#13
|
|
10486
10538
|
def __class_attr_validate_float=(new_value); end
|
|
10487
10539
|
end
|
|
10488
10540
|
end
|
|
@@ -10523,16 +10575,16 @@ class ActiveSupport::NumberHelper::NumberToHumanSizeConverter < ::ActiveSupport:
|
|
|
10523
10575
|
class << self
|
|
10524
10576
|
private
|
|
10525
10577
|
|
|
10526
|
-
# source://activesupport//lib/active_support/
|
|
10578
|
+
# source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#10
|
|
10527
10579
|
def __class_attr_namespace; end
|
|
10528
10580
|
|
|
10529
|
-
# source://activesupport//lib/active_support/
|
|
10581
|
+
# source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#10
|
|
10530
10582
|
def __class_attr_namespace=(new_value); end
|
|
10531
10583
|
|
|
10532
|
-
# source://activesupport//lib/active_support/
|
|
10584
|
+
# source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#11
|
|
10533
10585
|
def __class_attr_validate_float; end
|
|
10534
10586
|
|
|
10535
|
-
# source://activesupport//lib/active_support/
|
|
10587
|
+
# source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#11
|
|
10536
10588
|
def __class_attr_validate_float=(new_value); end
|
|
10537
10589
|
end
|
|
10538
10590
|
end
|
|
@@ -10548,10 +10600,10 @@ class ActiveSupport::NumberHelper::NumberToPercentageConverter < ::ActiveSupport
|
|
|
10548
10600
|
class << self
|
|
10549
10601
|
private
|
|
10550
10602
|
|
|
10551
|
-
# source://activesupport//lib/active_support/
|
|
10603
|
+
# source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#8
|
|
10552
10604
|
def __class_attr_namespace; end
|
|
10553
10605
|
|
|
10554
|
-
# source://activesupport//lib/active_support/
|
|
10606
|
+
# source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#8
|
|
10555
10607
|
def __class_attr_namespace=(new_value); end
|
|
10556
10608
|
end
|
|
10557
10609
|
end
|
|
@@ -10606,16 +10658,16 @@ class ActiveSupport::NumberHelper::NumberToRoundedConverter < ::ActiveSupport::N
|
|
|
10606
10658
|
class << self
|
|
10607
10659
|
private
|
|
10608
10660
|
|
|
10609
|
-
# source://activesupport//lib/active_support/
|
|
10661
|
+
# source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#8
|
|
10610
10662
|
def __class_attr_namespace; end
|
|
10611
10663
|
|
|
10612
|
-
# source://activesupport//lib/active_support/
|
|
10664
|
+
# source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#8
|
|
10613
10665
|
def __class_attr_namespace=(new_value); end
|
|
10614
10666
|
|
|
10615
|
-
# source://activesupport//lib/active_support/
|
|
10667
|
+
# source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#9
|
|
10616
10668
|
def __class_attr_validate_float; end
|
|
10617
10669
|
|
|
10618
|
-
# source://activesupport//lib/active_support/
|
|
10670
|
+
# source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#9
|
|
10619
10671
|
def __class_attr_validate_float=(new_value); end
|
|
10620
10672
|
end
|
|
10621
10673
|
end
|
|
@@ -10757,6 +10809,8 @@ class ActiveSupport::OrderedOptions < ::Hash
|
|
|
10757
10809
|
protected
|
|
10758
10810
|
|
|
10759
10811
|
# preserve the original #[] method
|
|
10812
|
+
#
|
|
10813
|
+
# source://activesupport//lib/active_support/ordered_options.rb#34
|
|
10760
10814
|
def _get(_arg0); end
|
|
10761
10815
|
|
|
10762
10816
|
private
|
|
@@ -10795,16 +10849,16 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper
|
|
|
10795
10849
|
# source://activesupport//lib/active_support/reloader.rb#99
|
|
10796
10850
|
def initialize; end
|
|
10797
10851
|
|
|
10798
|
-
# source://activesupport//lib/active_support/
|
|
10852
|
+
# source://activesupport//lib/active_support/reloader.rb#31
|
|
10799
10853
|
def _class_unload_callbacks; end
|
|
10800
10854
|
|
|
10801
|
-
# source://activesupport//lib/active_support/
|
|
10855
|
+
# source://activesupport//lib/active_support/reloader.rb#29
|
|
10802
10856
|
def _prepare_callbacks; end
|
|
10803
10857
|
|
|
10804
|
-
# source://activesupport//lib/active_support/
|
|
10858
|
+
# source://activesupport//lib/active_support/reloader.rb#31
|
|
10805
10859
|
def _run_class_unload_callbacks(&block); end
|
|
10806
10860
|
|
|
10807
|
-
# source://activesupport//lib/active_support/
|
|
10861
|
+
# source://activesupport//lib/active_support/reloader.rb#29
|
|
10808
10862
|
def _run_prepare_callbacks(&block); end
|
|
10809
10863
|
|
|
10810
10864
|
# source://activesupport//lib/active_support/reloader.rb#85
|
|
@@ -10846,16 +10900,16 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper
|
|
|
10846
10900
|
def run!; end
|
|
10847
10901
|
|
|
10848
10902
|
class << self
|
|
10849
|
-
# source://activesupport//lib/active_support/
|
|
10903
|
+
# source://activesupport//lib/active_support/reloader.rb#31
|
|
10850
10904
|
def _class_unload_callbacks; end
|
|
10851
10905
|
|
|
10852
|
-
# source://activesupport//lib/active_support/
|
|
10906
|
+
# source://activesupport//lib/active_support/reloader.rb#31
|
|
10853
10907
|
def _class_unload_callbacks=(value); end
|
|
10854
10908
|
|
|
10855
|
-
# source://activesupport//lib/active_support/
|
|
10909
|
+
# source://activesupport//lib/active_support/reloader.rb#29
|
|
10856
10910
|
def _prepare_callbacks; end
|
|
10857
10911
|
|
|
10858
|
-
# source://activesupport//lib/active_support/
|
|
10912
|
+
# source://activesupport//lib/active_support/reloader.rb#29
|
|
10859
10913
|
def _prepare_callbacks=(value); end
|
|
10860
10914
|
|
|
10861
10915
|
# Registers a callback that will run immediately after the classes are unloaded.
|
|
@@ -10915,22 +10969,22 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper
|
|
|
10915
10969
|
|
|
10916
10970
|
private
|
|
10917
10971
|
|
|
10918
|
-
# source://activesupport//lib/active_support/
|
|
10972
|
+
# source://activesupport//lib/active_support/reloader.rb#29
|
|
10919
10973
|
def __class_attr___callbacks; end
|
|
10920
10974
|
|
|
10921
|
-
# source://activesupport//lib/active_support/
|
|
10975
|
+
# source://activesupport//lib/active_support/reloader.rb#29
|
|
10922
10976
|
def __class_attr___callbacks=(new_value); end
|
|
10923
10977
|
|
|
10924
|
-
# source://activesupport//lib/active_support/
|
|
10978
|
+
# source://activesupport//lib/active_support/reloader.rb#85
|
|
10925
10979
|
def __class_attr_check; end
|
|
10926
10980
|
|
|
10927
|
-
# source://activesupport//lib/active_support/
|
|
10981
|
+
# source://activesupport//lib/active_support/reloader.rb#85
|
|
10928
10982
|
def __class_attr_check=(new_value); end
|
|
10929
10983
|
|
|
10930
|
-
# source://activesupport//lib/active_support/
|
|
10984
|
+
# source://activesupport//lib/active_support/reloader.rb#84
|
|
10931
10985
|
def __class_attr_executor; end
|
|
10932
10986
|
|
|
10933
|
-
# source://activesupport//lib/active_support/
|
|
10987
|
+
# source://activesupport//lib/active_support/reloader.rb#84
|
|
10934
10988
|
def __class_attr_executor=(new_value); end
|
|
10935
10989
|
end
|
|
10936
10990
|
end
|
|
@@ -11058,7 +11112,7 @@ class ActiveSupport::SafeBuffer < ::String
|
|
|
11058
11112
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#112
|
|
11059
11113
|
def +(other); end
|
|
11060
11114
|
|
|
11061
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11115
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#86
|
|
11062
11116
|
def <<(value); end
|
|
11063
11117
|
|
|
11064
11118
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#38
|
|
@@ -11070,22 +11124,22 @@ class ActiveSupport::SafeBuffer < ::String
|
|
|
11070
11124
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#88
|
|
11071
11125
|
def bytesplice(*args, value); end
|
|
11072
11126
|
|
|
11073
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11127
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11074
11128
|
def capitalize(*args, &block); end
|
|
11075
11129
|
|
|
11076
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11130
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11077
11131
|
def capitalize!(*args); end
|
|
11078
11132
|
|
|
11079
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11133
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11080
11134
|
def chomp(*args, &block); end
|
|
11081
11135
|
|
|
11082
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11136
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11083
11137
|
def chomp!(*args); end
|
|
11084
11138
|
|
|
11085
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11139
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11086
11140
|
def chop(*args, &block); end
|
|
11087
11141
|
|
|
11088
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11142
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11089
11143
|
def chop!(*args); end
|
|
11090
11144
|
|
|
11091
11145
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#59
|
|
@@ -11094,57 +11148,57 @@ class ActiveSupport::SafeBuffer < ::String
|
|
|
11094
11148
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#80
|
|
11095
11149
|
def concat(value); end
|
|
11096
11150
|
|
|
11097
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11151
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11098
11152
|
def delete(*args, &block); end
|
|
11099
11153
|
|
|
11100
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11154
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11101
11155
|
def delete!(*args); end
|
|
11102
11156
|
|
|
11103
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11157
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11104
11158
|
def delete_prefix(*args, &block); end
|
|
11105
11159
|
|
|
11106
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11160
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11107
11161
|
def delete_prefix!(*args); end
|
|
11108
11162
|
|
|
11109
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11163
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11110
11164
|
def delete_suffix(*args, &block); end
|
|
11111
11165
|
|
|
11112
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11166
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11113
11167
|
def delete_suffix!(*args); end
|
|
11114
11168
|
|
|
11115
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11169
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11116
11170
|
def downcase(*args, &block); end
|
|
11117
11171
|
|
|
11118
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11172
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11119
11173
|
def downcase!(*args); end
|
|
11120
11174
|
|
|
11121
11175
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#146
|
|
11122
11176
|
def encode_with(coder); end
|
|
11123
11177
|
|
|
11124
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11178
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#166
|
|
11125
11179
|
def gsub(*args, &block); end
|
|
11126
11180
|
|
|
11127
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11181
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#166
|
|
11128
11182
|
def gsub!(*args, &block); end
|
|
11129
11183
|
|
|
11130
11184
|
# Returns the value of attribute html_safe.
|
|
11131
11185
|
#
|
|
11132
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11186
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#135
|
|
11133
11187
|
def html_safe?; end
|
|
11134
11188
|
|
|
11135
11189
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#92
|
|
11136
11190
|
def insert(index, value); end
|
|
11137
11191
|
|
|
11138
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11192
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11139
11193
|
def lstrip(*args, &block); end
|
|
11140
11194
|
|
|
11141
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11195
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11142
11196
|
def lstrip!(*args); end
|
|
11143
11197
|
|
|
11144
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11198
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11145
11199
|
def next(*args, &block); end
|
|
11146
11200
|
|
|
11147
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11201
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11148
11202
|
def next!(*args); end
|
|
11149
11203
|
|
|
11150
11204
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#96
|
|
@@ -11153,16 +11207,16 @@ class ActiveSupport::SafeBuffer < ::String
|
|
|
11153
11207
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#100
|
|
11154
11208
|
def replace(value); end
|
|
11155
11209
|
|
|
11156
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11210
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11157
11211
|
def reverse(*args, &block); end
|
|
11158
11212
|
|
|
11159
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11213
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11160
11214
|
def reverse!(*args); end
|
|
11161
11215
|
|
|
11162
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11216
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11163
11217
|
def rstrip(*args, &block); end
|
|
11164
11218
|
|
|
11165
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11219
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11166
11220
|
def rstrip!(*args); end
|
|
11167
11221
|
|
|
11168
11222
|
# @raise [SafeConcatError]
|
|
@@ -11170,46 +11224,46 @@ class ActiveSupport::SafeBuffer < ::String
|
|
|
11170
11224
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#65
|
|
11171
11225
|
def safe_concat(value); end
|
|
11172
11226
|
|
|
11173
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11227
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11174
11228
|
def scrub(*args, &block); end
|
|
11175
11229
|
|
|
11176
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11230
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11177
11231
|
def scrub!(*args); end
|
|
11178
11232
|
|
|
11179
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11233
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#49
|
|
11180
11234
|
def slice(*args); end
|
|
11181
11235
|
|
|
11182
11236
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#51
|
|
11183
11237
|
def slice!(*args); end
|
|
11184
11238
|
|
|
11185
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11239
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11186
11240
|
def squeeze(*args, &block); end
|
|
11187
11241
|
|
|
11188
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11242
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11189
11243
|
def squeeze!(*args); end
|
|
11190
11244
|
|
|
11191
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11245
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11192
11246
|
def strip(*args, &block); end
|
|
11193
11247
|
|
|
11194
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11248
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11195
11249
|
def strip!(*args); end
|
|
11196
11250
|
|
|
11197
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11251
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#166
|
|
11198
11252
|
def sub(*args, &block); end
|
|
11199
11253
|
|
|
11200
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11254
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#166
|
|
11201
11255
|
def sub!(*args, &block); end
|
|
11202
11256
|
|
|
11203
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11257
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11204
11258
|
def succ(*args, &block); end
|
|
11205
11259
|
|
|
11206
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11260
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11207
11261
|
def succ!(*args); end
|
|
11208
11262
|
|
|
11209
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11263
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11210
11264
|
def swapcase(*args, &block); end
|
|
11211
11265
|
|
|
11212
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11266
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11213
11267
|
def swapcase!(*args); end
|
|
11214
11268
|
|
|
11215
11269
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#142
|
|
@@ -11218,28 +11272,28 @@ class ActiveSupport::SafeBuffer < ::String
|
|
|
11218
11272
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#138
|
|
11219
11273
|
def to_s; end
|
|
11220
11274
|
|
|
11221
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11275
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11222
11276
|
def tr(*args, &block); end
|
|
11223
11277
|
|
|
11224
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11278
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11225
11279
|
def tr!(*args); end
|
|
11226
11280
|
|
|
11227
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11281
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11228
11282
|
def tr_s(*args, &block); end
|
|
11229
11283
|
|
|
11230
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11284
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11231
11285
|
def tr_s!(*args); end
|
|
11232
11286
|
|
|
11233
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11287
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11234
11288
|
def unicode_normalize(*args, &block); end
|
|
11235
11289
|
|
|
11236
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11290
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11237
11291
|
def unicode_normalize!(*args); end
|
|
11238
11292
|
|
|
11239
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11293
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11240
11294
|
def upcase(*args, &block); end
|
|
11241
11295
|
|
|
11242
|
-
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#
|
|
11296
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#152
|
|
11243
11297
|
def upcase!(*args); end
|
|
11244
11298
|
|
|
11245
11299
|
private
|
|
@@ -11253,6 +11307,7 @@ class ActiveSupport::SafeBuffer < ::String
|
|
|
11253
11307
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#75
|
|
11254
11308
|
def initialize_copy(other); end
|
|
11255
11309
|
|
|
11310
|
+
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#28
|
|
11256
11311
|
def original_concat(*_arg0); end
|
|
11257
11312
|
|
|
11258
11313
|
# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#205
|
|
@@ -11345,7 +11400,7 @@ module ActiveSupport::SecurityUtils
|
|
|
11345
11400
|
class << self
|
|
11346
11401
|
# @raise [ArgumentError]
|
|
11347
11402
|
#
|
|
11348
|
-
# source://activesupport//lib/active_support/security_utils.rb#
|
|
11403
|
+
# source://activesupport//lib/active_support/security_utils.rb#25
|
|
11349
11404
|
def fixed_length_secure_compare(a, b); end
|
|
11350
11405
|
|
|
11351
11406
|
# Secure string comparison for strings of variable length.
|
|
@@ -11355,7 +11410,7 @@ module ActiveSupport::SecurityUtils
|
|
|
11355
11410
|
# the secret length. This should be considered when using secure_compare
|
|
11356
11411
|
# to compare weak, short secrets to user input.
|
|
11357
11412
|
#
|
|
11358
|
-
# source://activesupport//lib/active_support/security_utils.rb#
|
|
11413
|
+
# source://activesupport//lib/active_support/security_utils.rb#36
|
|
11359
11414
|
def secure_compare(a, b); end
|
|
11360
11415
|
end
|
|
11361
11416
|
end
|
|
@@ -11422,16 +11477,16 @@ end
|
|
|
11422
11477
|
class ActiveSupport::Subscriber
|
|
11423
11478
|
# @return [Subscriber] a new instance of Subscriber
|
|
11424
11479
|
#
|
|
11425
|
-
# source://activesupport//lib/active_support/subscriber.rb#
|
|
11480
|
+
# source://activesupport//lib/active_support/subscriber.rb#70
|
|
11426
11481
|
def initialize; end
|
|
11427
11482
|
|
|
11428
|
-
# source://activesupport//lib/active_support/subscriber.rb#
|
|
11483
|
+
# source://activesupport//lib/active_support/subscriber.rb#70
|
|
11429
11484
|
def call(event); end
|
|
11430
11485
|
|
|
11431
|
-
# source://activesupport//lib/active_support/subscriber.rb#
|
|
11486
|
+
# source://activesupport//lib/active_support/subscriber.rb#70
|
|
11432
11487
|
def patterns; end
|
|
11433
11488
|
|
|
11434
|
-
# source://activesupport//lib/active_support/subscriber.rb#
|
|
11489
|
+
# source://activesupport//lib/active_support/subscriber.rb#70
|
|
11435
11490
|
def publish_event(event); end
|
|
11436
11491
|
|
|
11437
11492
|
class << self
|
|
@@ -11544,7 +11599,7 @@ module ActiveSupport::TaggedLogging
|
|
|
11544
11599
|
# source://activesupport//lib/active_support/tagged_logging.rb#117
|
|
11545
11600
|
def logger(*args, **kwargs); end
|
|
11546
11601
|
|
|
11547
|
-
# source://
|
|
11602
|
+
# source://activesupport//lib/active_support/tagged_logging.rb#121
|
|
11548
11603
|
def new(logger); end
|
|
11549
11604
|
end
|
|
11550
11605
|
end
|
|
@@ -11642,98 +11697,98 @@ class ActiveSupport::TestCase < ::Minitest::Test
|
|
|
11642
11697
|
extend ::ActiveSupport::Testing::SetupAndTeardown::ClassMethods
|
|
11643
11698
|
extend ::ActiveSupport::Testing::Declarative
|
|
11644
11699
|
|
|
11645
|
-
# source://activesupport//lib/active_support/
|
|
11700
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11646
11701
|
def __callbacks; end
|
|
11647
11702
|
|
|
11648
|
-
# source://activesupport//lib/active_support/
|
|
11703
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11649
11704
|
def _run_setup_callbacks(&block); end
|
|
11650
11705
|
|
|
11651
|
-
# source://activesupport//lib/active_support/
|
|
11706
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11652
11707
|
def _run_teardown_callbacks(&block); end
|
|
11653
11708
|
|
|
11654
|
-
# source://activesupport//lib/active_support/
|
|
11709
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11655
11710
|
def _setup_callbacks; end
|
|
11656
11711
|
|
|
11657
|
-
# source://activesupport//lib/active_support/
|
|
11712
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11658
11713
|
def _teardown_callbacks; end
|
|
11659
11714
|
|
|
11660
|
-
# source://
|
|
11715
|
+
# source://activesupport//lib/active_support/test_case.rb#241
|
|
11661
11716
|
def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end
|
|
11662
11717
|
|
|
11663
|
-
# source://
|
|
11718
|
+
# source://activesupport//lib/active_support/test_case.rb#164
|
|
11664
11719
|
def assert_not_empty(obj, msg = T.unsafe(nil)); end
|
|
11665
11720
|
|
|
11666
|
-
# source://
|
|
11721
|
+
# source://activesupport//lib/active_support/test_case.rb#175
|
|
11667
11722
|
def assert_not_equal(exp, act, msg = T.unsafe(nil)); end
|
|
11668
11723
|
|
|
11669
|
-
# source://
|
|
11724
|
+
# source://activesupport//lib/active_support/test_case.rb#186
|
|
11670
11725
|
def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
|
|
11671
11726
|
|
|
11672
|
-
# source://
|
|
11727
|
+
# source://activesupport//lib/active_support/test_case.rb#197
|
|
11673
11728
|
def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
|
|
11674
11729
|
|
|
11675
|
-
# source://
|
|
11730
|
+
# source://activesupport//lib/active_support/test_case.rb#208
|
|
11676
11731
|
def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end
|
|
11677
11732
|
|
|
11678
|
-
# source://
|
|
11733
|
+
# source://activesupport//lib/active_support/test_case.rb#219
|
|
11679
11734
|
def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end
|
|
11680
11735
|
|
|
11681
|
-
# source://
|
|
11736
|
+
# source://activesupport//lib/active_support/test_case.rb#230
|
|
11682
11737
|
def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end
|
|
11683
11738
|
|
|
11684
|
-
# source://
|
|
11739
|
+
# source://activesupport//lib/active_support/test_case.rb#252
|
|
11685
11740
|
def assert_not_nil(obj, msg = T.unsafe(nil)); end
|
|
11686
11741
|
|
|
11687
|
-
# source://
|
|
11742
|
+
# source://activesupport//lib/active_support/test_case.rb#263
|
|
11688
11743
|
def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
|
|
11689
11744
|
|
|
11690
|
-
# source://
|
|
11745
|
+
# source://activesupport//lib/active_support/test_case.rb#274
|
|
11691
11746
|
def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end
|
|
11692
11747
|
|
|
11693
|
-
# source://
|
|
11748
|
+
# source://activesupport//lib/active_support/test_case.rb#285
|
|
11694
11749
|
def assert_not_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end
|
|
11695
11750
|
|
|
11696
|
-
# source://
|
|
11751
|
+
# source://activesupport//lib/active_support/test_case.rb#296
|
|
11697
11752
|
def assert_not_same(exp, act, msg = T.unsafe(nil)); end
|
|
11698
11753
|
|
|
11699
|
-
# source://activesupport//lib/active_support/
|
|
11754
|
+
# source://activesupport//lib/active_support/test_case.rb#152
|
|
11700
11755
|
def file_fixture_path; end
|
|
11701
11756
|
|
|
11702
|
-
# source://activesupport//lib/active_support/
|
|
11757
|
+
# source://activesupport//lib/active_support/test_case.rb#152
|
|
11703
11758
|
def file_fixture_path?; end
|
|
11704
11759
|
|
|
11705
11760
|
# source://activesupport//lib/active_support/test_case.rb#300
|
|
11706
11761
|
def inspect; end
|
|
11707
11762
|
|
|
11708
|
-
# source://
|
|
11763
|
+
# source://activesupport//lib/active_support/test_case.rb#142
|
|
11709
11764
|
def method_name; end
|
|
11710
11765
|
|
|
11711
11766
|
class << self
|
|
11712
|
-
# source://activesupport//lib/active_support/
|
|
11767
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11713
11768
|
def __callbacks; end
|
|
11714
11769
|
|
|
11715
|
-
# source://activesupport//lib/active_support/
|
|
11770
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11716
11771
|
def __callbacks=(value); end
|
|
11717
11772
|
|
|
11718
|
-
# source://activesupport//lib/active_support/
|
|
11773
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11719
11774
|
def _setup_callbacks; end
|
|
11720
11775
|
|
|
11721
|
-
# source://activesupport//lib/active_support/
|
|
11776
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11722
11777
|
def _setup_callbacks=(value); end
|
|
11723
11778
|
|
|
11724
|
-
# source://activesupport//lib/active_support/
|
|
11779
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11725
11780
|
def _teardown_callbacks; end
|
|
11726
11781
|
|
|
11727
|
-
# source://activesupport//lib/active_support/
|
|
11782
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11728
11783
|
def _teardown_callbacks=(value); end
|
|
11729
11784
|
|
|
11730
|
-
# source://activesupport//lib/active_support/
|
|
11785
|
+
# source://activesupport//lib/active_support/test_case.rb#152
|
|
11731
11786
|
def file_fixture_path; end
|
|
11732
11787
|
|
|
11733
|
-
# source://activesupport//lib/active_support/
|
|
11788
|
+
# source://activesupport//lib/active_support/test_case.rb#152
|
|
11734
11789
|
def file_fixture_path=(value); end
|
|
11735
11790
|
|
|
11736
|
-
# source://activesupport//lib/active_support/
|
|
11791
|
+
# source://activesupport//lib/active_support/test_case.rb#152
|
|
11737
11792
|
def file_fixture_path?; end
|
|
11738
11793
|
|
|
11739
11794
|
# Parallelizes the test suite.
|
|
@@ -11832,16 +11887,16 @@ class ActiveSupport::TestCase < ::Minitest::Test
|
|
|
11832
11887
|
|
|
11833
11888
|
private
|
|
11834
11889
|
|
|
11835
|
-
# source://activesupport//lib/active_support/
|
|
11890
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11836
11891
|
def __class_attr___callbacks; end
|
|
11837
11892
|
|
|
11838
|
-
# source://activesupport//lib/active_support/
|
|
11893
|
+
# source://activesupport//lib/active_support/test_case.rb#145
|
|
11839
11894
|
def __class_attr___callbacks=(new_value); end
|
|
11840
11895
|
|
|
11841
|
-
# source://activesupport//lib/active_support/
|
|
11896
|
+
# source://activesupport//lib/active_support/test_case.rb#152
|
|
11842
11897
|
def __class_attr_file_fixture_path; end
|
|
11843
11898
|
|
|
11844
|
-
# source://activesupport//lib/active_support/
|
|
11899
|
+
# source://activesupport//lib/active_support/test_case.rb#152
|
|
11845
11900
|
def __class_attr_file_fixture_path=(new_value); end
|
|
11846
11901
|
end
|
|
11847
11902
|
end
|
|
@@ -12028,7 +12083,7 @@ module ActiveSupport::Testing::Assertions
|
|
|
12028
12083
|
# perform_service(param: 'exception')
|
|
12029
12084
|
# end
|
|
12030
12085
|
#
|
|
12031
|
-
# source://activesupport//lib/active_support/testing/assertions.rb#
|
|
12086
|
+
# source://activesupport//lib/active_support/testing/assertions.rb#39
|
|
12032
12087
|
def assert_raise(*exp, match: T.unsafe(nil), &block); end
|
|
12033
12088
|
|
|
12034
12089
|
# Asserts that a block raises one of +exp+. This is an enhancement of the
|
|
@@ -12246,68 +12301,99 @@ class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report <
|
|
|
12246
12301
|
# Returns the value of attribute context
|
|
12247
12302
|
#
|
|
12248
12303
|
# @return [Object] the current value of context
|
|
12304
|
+
#
|
|
12305
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12249
12306
|
def context; end
|
|
12250
12307
|
|
|
12251
12308
|
# Sets the attribute context
|
|
12252
12309
|
#
|
|
12253
12310
|
# @param value [Object] the value to set the attribute context to.
|
|
12254
12311
|
# @return [Object] the newly set value
|
|
12312
|
+
#
|
|
12313
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12255
12314
|
def context=(_); end
|
|
12256
12315
|
|
|
12257
12316
|
# Returns the value of attribute error
|
|
12258
12317
|
#
|
|
12259
12318
|
# @return [Object] the current value of error
|
|
12319
|
+
#
|
|
12320
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12260
12321
|
def error; end
|
|
12261
12322
|
|
|
12262
12323
|
# Sets the attribute error
|
|
12263
12324
|
#
|
|
12264
12325
|
# @param value [Object] the value to set the attribute error to.
|
|
12265
12326
|
# @return [Object] the newly set value
|
|
12327
|
+
#
|
|
12328
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12266
12329
|
def error=(_); end
|
|
12267
12330
|
|
|
12268
12331
|
# Returns the value of attribute handled
|
|
12269
12332
|
#
|
|
12270
12333
|
# @return [Object] the current value of handled
|
|
12334
|
+
#
|
|
12335
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12271
12336
|
def handled; end
|
|
12272
12337
|
|
|
12273
12338
|
# Sets the attribute handled
|
|
12274
12339
|
#
|
|
12275
12340
|
# @param value [Object] the value to set the attribute handled to.
|
|
12276
12341
|
# @return [Object] the newly set value
|
|
12342
|
+
#
|
|
12343
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12277
12344
|
def handled=(_); end
|
|
12278
12345
|
|
|
12279
12346
|
# Returns the value of attribute handled
|
|
12280
12347
|
#
|
|
12281
12348
|
# @return [Object] the current value of handled
|
|
12349
|
+
#
|
|
12350
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#12
|
|
12282
12351
|
def handled?; end
|
|
12283
12352
|
|
|
12284
12353
|
# Returns the value of attribute severity
|
|
12285
12354
|
#
|
|
12286
12355
|
# @return [Object] the current value of severity
|
|
12356
|
+
#
|
|
12357
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12287
12358
|
def severity; end
|
|
12288
12359
|
|
|
12289
12360
|
# Sets the attribute severity
|
|
12290
12361
|
#
|
|
12291
12362
|
# @param value [Object] the value to set the attribute severity to.
|
|
12292
12363
|
# @return [Object] the newly set value
|
|
12364
|
+
#
|
|
12365
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12293
12366
|
def severity=(_); end
|
|
12294
12367
|
|
|
12295
12368
|
# Returns the value of attribute source
|
|
12296
12369
|
#
|
|
12297
12370
|
# @return [Object] the current value of source
|
|
12371
|
+
#
|
|
12372
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12298
12373
|
def source; end
|
|
12299
12374
|
|
|
12300
12375
|
# Sets the attribute source
|
|
12301
12376
|
#
|
|
12302
12377
|
# @param value [Object] the value to set the attribute source to.
|
|
12303
12378
|
# @return [Object] the newly set value
|
|
12379
|
+
#
|
|
12380
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12304
12381
|
def source=(_); end
|
|
12305
12382
|
|
|
12306
12383
|
class << self
|
|
12384
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12307
12385
|
def [](*_arg0); end
|
|
12386
|
+
|
|
12387
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12308
12388
|
def inspect; end
|
|
12389
|
+
|
|
12390
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12309
12391
|
def keyword_init?; end
|
|
12392
|
+
|
|
12393
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12310
12394
|
def members; end
|
|
12395
|
+
|
|
12396
|
+
# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10
|
|
12311
12397
|
def new(*_arg0); end
|
|
12312
12398
|
end
|
|
12313
12399
|
end
|
|
@@ -12432,19 +12518,32 @@ class ActiveSupport::Testing::Parallelization::PrerecordResultClass < ::Struct
|
|
|
12432
12518
|
# Returns the value of attribute name
|
|
12433
12519
|
#
|
|
12434
12520
|
# @return [Object] the current value of name
|
|
12521
|
+
#
|
|
12522
|
+
# source://activesupport//lib/active_support/testing/parallelization/server.rb#9
|
|
12435
12523
|
def name; end
|
|
12436
12524
|
|
|
12437
12525
|
# Sets the attribute name
|
|
12438
12526
|
#
|
|
12439
12527
|
# @param value [Object] the value to set the attribute name to.
|
|
12440
12528
|
# @return [Object] the newly set value
|
|
12529
|
+
#
|
|
12530
|
+
# source://activesupport//lib/active_support/testing/parallelization/server.rb#9
|
|
12441
12531
|
def name=(_); end
|
|
12442
12532
|
|
|
12443
12533
|
class << self
|
|
12534
|
+
# source://activesupport//lib/active_support/testing/parallelization/server.rb#9
|
|
12444
12535
|
def [](*_arg0); end
|
|
12536
|
+
|
|
12537
|
+
# source://activesupport//lib/active_support/testing/parallelization/server.rb#9
|
|
12445
12538
|
def inspect; end
|
|
12539
|
+
|
|
12540
|
+
# source://activesupport//lib/active_support/testing/parallelization/server.rb#9
|
|
12446
12541
|
def keyword_init?; end
|
|
12542
|
+
|
|
12543
|
+
# source://activesupport//lib/active_support/testing/parallelization/server.rb#9
|
|
12447
12544
|
def members; end
|
|
12545
|
+
|
|
12546
|
+
# source://activesupport//lib/active_support/testing/parallelization/server.rb#9
|
|
12448
12547
|
def new(*_arg0); end
|
|
12449
12548
|
end
|
|
12450
12549
|
end
|
|
@@ -12680,41 +12779,62 @@ class ActiveSupport::Testing::SimpleStubs::Stub < ::Struct
|
|
|
12680
12779
|
# Returns the value of attribute method_name
|
|
12681
12780
|
#
|
|
12682
12781
|
# @return [Object] the current value of method_name
|
|
12782
|
+
#
|
|
12783
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12683
12784
|
def method_name; end
|
|
12684
12785
|
|
|
12685
12786
|
# Sets the attribute method_name
|
|
12686
12787
|
#
|
|
12687
12788
|
# @param value [Object] the value to set the attribute method_name to.
|
|
12688
12789
|
# @return [Object] the newly set value
|
|
12790
|
+
#
|
|
12791
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12689
12792
|
def method_name=(_); end
|
|
12690
12793
|
|
|
12691
12794
|
# Returns the value of attribute object
|
|
12692
12795
|
#
|
|
12693
12796
|
# @return [Object] the current value of object
|
|
12797
|
+
#
|
|
12798
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12694
12799
|
def object; end
|
|
12695
12800
|
|
|
12696
12801
|
# Sets the attribute object
|
|
12697
12802
|
#
|
|
12698
12803
|
# @param value [Object] the value to set the attribute object to.
|
|
12699
12804
|
# @return [Object] the newly set value
|
|
12805
|
+
#
|
|
12806
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12700
12807
|
def object=(_); end
|
|
12701
12808
|
|
|
12702
12809
|
# Returns the value of attribute original_method
|
|
12703
12810
|
#
|
|
12704
12811
|
# @return [Object] the current value of original_method
|
|
12812
|
+
#
|
|
12813
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12705
12814
|
def original_method; end
|
|
12706
12815
|
|
|
12707
12816
|
# Sets the attribute original_method
|
|
12708
12817
|
#
|
|
12709
12818
|
# @param value [Object] the value to set the attribute original_method to.
|
|
12710
12819
|
# @return [Object] the newly set value
|
|
12820
|
+
#
|
|
12821
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12711
12822
|
def original_method=(_); end
|
|
12712
12823
|
|
|
12713
12824
|
class << self
|
|
12825
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12714
12826
|
def [](*_arg0); end
|
|
12827
|
+
|
|
12828
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12715
12829
|
def inspect; end
|
|
12830
|
+
|
|
12831
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12716
12832
|
def keyword_init?; end
|
|
12833
|
+
|
|
12834
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12717
12835
|
def members; end
|
|
12836
|
+
|
|
12837
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#10
|
|
12718
12838
|
def new(*_arg0); end
|
|
12719
12839
|
end
|
|
12720
12840
|
end
|
|
@@ -12887,7 +13007,7 @@ module ActiveSupport::Testing::TimeHelpers
|
|
|
12887
13007
|
#
|
|
12888
13008
|
# Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00
|
|
12889
13009
|
#
|
|
12890
|
-
# source://activesupport//lib/active_support/testing/time_helpers.rb#
|
|
13010
|
+
# source://activesupport//lib/active_support/testing/time_helpers.rb#239
|
|
12891
13011
|
def unfreeze_time; end
|
|
12892
13012
|
|
|
12893
13013
|
private
|
|
@@ -13035,6 +13155,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13035
13155
|
# source://activesupport//lib/active_support/time_with_zone.rb#430
|
|
13036
13156
|
def advance(options); end
|
|
13037
13157
|
|
|
13158
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#235
|
|
13038
13159
|
def after?(_arg0); end
|
|
13039
13160
|
|
|
13040
13161
|
# Subtracts an interval of time from the current object's time and returns
|
|
@@ -13074,6 +13195,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13074
13195
|
# source://activesupport//lib/active_support/time_with_zone.rb#166
|
|
13075
13196
|
def as_json(options = T.unsafe(nil)); end
|
|
13076
13197
|
|
|
13198
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#234
|
|
13077
13199
|
def before?(_arg0); end
|
|
13078
13200
|
|
|
13079
13201
|
# Returns true if the current object's time is within the specified
|
|
@@ -13114,10 +13236,10 @@ class ActiveSupport::TimeWithZone
|
|
|
13114
13236
|
|
|
13115
13237
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the UTC timezone.
|
|
13116
13238
|
#
|
|
13117
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13239
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#66
|
|
13118
13240
|
def comparable_time; end
|
|
13119
13241
|
|
|
13120
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13242
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13121
13243
|
def day; end
|
|
13122
13244
|
|
|
13123
13245
|
# Returns true if the current time is within Daylight Savings \Time for the
|
|
@@ -13166,17 +13288,17 @@ class ActiveSupport::TimeWithZone
|
|
|
13166
13288
|
|
|
13167
13289
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the UTC timezone.
|
|
13168
13290
|
#
|
|
13169
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13291
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#67
|
|
13170
13292
|
def getgm; end
|
|
13171
13293
|
|
|
13172
13294
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the system timezone.
|
|
13173
13295
|
#
|
|
13174
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13296
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#86
|
|
13175
13297
|
def getlocal(utc_offset = T.unsafe(nil)); end
|
|
13176
13298
|
|
|
13177
13299
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the UTC timezone.
|
|
13178
13300
|
#
|
|
13179
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13301
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#68
|
|
13180
13302
|
def getutc; end
|
|
13181
13303
|
|
|
13182
13304
|
# Returns true if the current time zone is set to UTC.
|
|
@@ -13188,28 +13310,28 @@ class ActiveSupport::TimeWithZone
|
|
|
13188
13310
|
#
|
|
13189
13311
|
# @return [Boolean]
|
|
13190
13312
|
#
|
|
13191
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13313
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#108
|
|
13192
13314
|
def gmt?; end
|
|
13193
13315
|
|
|
13194
13316
|
# Returns the offset from current time to UTC time in seconds.
|
|
13195
13317
|
#
|
|
13196
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13318
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#114
|
|
13197
13319
|
def gmt_offset; end
|
|
13198
13320
|
|
|
13199
13321
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the UTC timezone.
|
|
13200
13322
|
#
|
|
13201
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13323
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#69
|
|
13202
13324
|
def gmtime; end
|
|
13203
13325
|
|
|
13204
13326
|
# Returns the offset from current time to UTC time in seconds.
|
|
13205
13327
|
#
|
|
13206
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13328
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#115
|
|
13207
13329
|
def gmtoff; end
|
|
13208
13330
|
|
|
13209
13331
|
# source://activesupport//lib/active_support/time_with_zone.rb#278
|
|
13210
13332
|
def hash; end
|
|
13211
13333
|
|
|
13212
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13334
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13213
13335
|
def hour; end
|
|
13214
13336
|
|
|
13215
13337
|
# Returns a string of the object's date and time in the format used by
|
|
@@ -13237,7 +13359,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13237
13359
|
# now + 24.hours # => Mon, 03 Nov 2014 00:26:28.725182881 EST -05:00
|
|
13238
13360
|
# now + 1.day # => Mon, 03 Nov 2014 01:26:28.725182881 EST -05:00
|
|
13239
13361
|
#
|
|
13240
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13362
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#316
|
|
13241
13363
|
def in(other); end
|
|
13242
13364
|
|
|
13243
13365
|
# Returns the simultaneous time in <tt>Time.zone</tt>, or the specified zone.
|
|
@@ -13271,7 +13393,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13271
13393
|
#
|
|
13272
13394
|
# @return [Boolean]
|
|
13273
13395
|
#
|
|
13274
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13396
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#97
|
|
13275
13397
|
def isdst; end
|
|
13276
13398
|
|
|
13277
13399
|
# Returns a string of the object's date and time in the ISO 8601 standard
|
|
@@ -13279,14 +13401,14 @@ class ActiveSupport::TimeWithZone
|
|
|
13279
13401
|
#
|
|
13280
13402
|
# Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00"
|
|
13281
13403
|
#
|
|
13282
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13404
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#151
|
|
13283
13405
|
def iso8601(fraction_digits = T.unsafe(nil)); end
|
|
13284
13406
|
|
|
13285
13407
|
# Say we're a Time to thwart type checking.
|
|
13286
13408
|
#
|
|
13287
13409
|
# @return [Boolean]
|
|
13288
13410
|
#
|
|
13289
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13411
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#512
|
|
13290
13412
|
def kind_of?(klass); end
|
|
13291
13413
|
|
|
13292
13414
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the system timezone.
|
|
@@ -13300,7 +13422,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13300
13422
|
# source://activesupport//lib/active_support/time_with_zone.rb#533
|
|
13301
13423
|
def marshal_load(variables); end
|
|
13302
13424
|
|
|
13303
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13425
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13304
13426
|
def mday; end
|
|
13305
13427
|
|
|
13306
13428
|
# Send the missing method to +time+ instance, and wrap result in a new
|
|
@@ -13309,13 +13431,13 @@ class ActiveSupport::TimeWithZone
|
|
|
13309
13431
|
# source://activesupport//lib/active_support/time_with_zone.rb#553
|
|
13310
13432
|
def method_missing(*_arg0, **_arg1, &_arg2); end
|
|
13311
13433
|
|
|
13312
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13434
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13313
13435
|
def min; end
|
|
13314
13436
|
|
|
13315
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13437
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13316
13438
|
def mon; end
|
|
13317
13439
|
|
|
13318
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13440
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13319
13441
|
def month; end
|
|
13320
13442
|
|
|
13321
13443
|
# Returns true if the current object's time falls within
|
|
@@ -13323,10 +13445,10 @@ class ActiveSupport::TimeWithZone
|
|
|
13323
13445
|
#
|
|
13324
13446
|
# @return [Boolean]
|
|
13325
13447
|
#
|
|
13326
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13448
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#259
|
|
13327
13449
|
def next_day?; end
|
|
13328
13450
|
|
|
13329
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13451
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13330
13452
|
def nsec; end
|
|
13331
13453
|
|
|
13332
13454
|
# Returns true if the current object's time is in the past.
|
|
@@ -13351,7 +13473,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13351
13473
|
#
|
|
13352
13474
|
# @return [Boolean]
|
|
13353
13475
|
#
|
|
13354
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13476
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#266
|
|
13355
13477
|
def prev_day?; end
|
|
13356
13478
|
|
|
13357
13479
|
# respond_to_missing? is not called in some cases, such as when type conversion is
|
|
@@ -13375,7 +13497,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13375
13497
|
#
|
|
13376
13498
|
# Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00"
|
|
13377
13499
|
#
|
|
13378
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13500
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#152
|
|
13379
13501
|
def rfc3339(fraction_digits = T.unsafe(nil)); end
|
|
13380
13502
|
|
|
13381
13503
|
# Returns a string of the object's date and time in the RFC 2822 standard
|
|
@@ -13383,10 +13505,10 @@ class ActiveSupport::TimeWithZone
|
|
|
13383
13505
|
#
|
|
13384
13506
|
# Time.zone.now.rfc2822 # => "Tue, 01 Jan 2013 04:51:39 +0000"
|
|
13385
13507
|
#
|
|
13386
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13508
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#197
|
|
13387
13509
|
def rfc822; end
|
|
13388
13510
|
|
|
13389
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13511
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13390
13512
|
def sec; end
|
|
13391
13513
|
|
|
13392
13514
|
# Adds an interval of time to the current object's time and returns that
|
|
@@ -13406,7 +13528,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13406
13528
|
# now + 24.hours # => Mon, 03 Nov 2014 00:26:28.725182881 EST -05:00
|
|
13407
13529
|
# now + 1.day # => Mon, 03 Nov 2014 01:26:28.725182881 EST -05:00
|
|
13408
13530
|
#
|
|
13409
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13531
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#315
|
|
13410
13532
|
def since(other); end
|
|
13411
13533
|
|
|
13412
13534
|
# Replaces <tt>%Z</tt> directive with +zone before passing to Time#strftime,
|
|
@@ -13434,7 +13556,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13434
13556
|
# source://activesupport//lib/active_support/time_with_zone.rb#453
|
|
13435
13557
|
def to_a; end
|
|
13436
13558
|
|
|
13437
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13559
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13438
13560
|
def to_date; end
|
|
13439
13561
|
|
|
13440
13562
|
# Returns an instance of DateTime with the timezone's UTC offset
|
|
@@ -13462,7 +13584,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13462
13584
|
# * <tt>:db</tt> - format outputs time in UTC :db time. See Time#to_fs(:db).
|
|
13463
13585
|
# * Any key in +Time::DATE_FORMATS+ can be used. See active_support/core_ext/time/conversions.rb.
|
|
13464
13586
|
#
|
|
13465
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13587
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#221
|
|
13466
13588
|
def to_formatted_s(format = T.unsafe(nil)); end
|
|
13467
13589
|
|
|
13468
13590
|
# Returns a string of the object's date and time.
|
|
@@ -13526,10 +13648,10 @@ class ActiveSupport::TimeWithZone
|
|
|
13526
13648
|
#
|
|
13527
13649
|
# Time.zone.now.to_i # => 1417709320
|
|
13528
13650
|
#
|
|
13529
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13651
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#472
|
|
13530
13652
|
def tv_sec; end
|
|
13531
13653
|
|
|
13532
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13654
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13533
13655
|
def usec; end
|
|
13534
13656
|
|
|
13535
13657
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the UTC timezone.
|
|
@@ -13554,7 +13676,7 @@ class ActiveSupport::TimeWithZone
|
|
|
13554
13676
|
# source://activesupport//lib/active_support/time_with_zone.rb#111
|
|
13555
13677
|
def utc_offset; end
|
|
13556
13678
|
|
|
13557
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13679
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13558
13680
|
def wday; end
|
|
13559
13681
|
|
|
13560
13682
|
# Returns a string of the object's date and time in the ISO 8601 standard
|
|
@@ -13565,10 +13687,10 @@ class ActiveSupport::TimeWithZone
|
|
|
13565
13687
|
# source://activesupport//lib/active_support/time_with_zone.rb#148
|
|
13566
13688
|
def xmlschema(fraction_digits = T.unsafe(nil)); end
|
|
13567
13689
|
|
|
13568
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13690
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13569
13691
|
def yday; end
|
|
13570
13692
|
|
|
13571
|
-
# source://activesupport//lib/active_support/time_with_zone.rb#
|
|
13693
|
+
# source://activesupport//lib/active_support/time_with_zone.rb#441
|
|
13572
13694
|
def year; end
|
|
13573
13695
|
|
|
13574
13696
|
# Returns true if the current object's time falls within
|
|
@@ -13912,6 +14034,7 @@ class ActiveSupport::TimeZone
|
|
|
13912
14034
|
# source://activesupport//lib/active_support/values/time_zone.rb#260
|
|
13913
14035
|
def country_zones(country_code); end
|
|
13914
14036
|
|
|
14037
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#211
|
|
13915
14038
|
def create(*_arg0); end
|
|
13916
14039
|
|
|
13917
14040
|
# source://activesupport//lib/active_support/values/time_zone.rb#207
|
|
@@ -14253,6 +14376,16 @@ class Array
|
|
|
14253
14376
|
# source://activesupport//lib/active_support/core_ext/object/json.rb#164
|
|
14254
14377
|
def as_json(options = T.unsafe(nil)); end
|
|
14255
14378
|
|
|
14379
|
+
# An array is blank if it's empty:
|
|
14380
|
+
#
|
|
14381
|
+
# [].blank? # => true
|
|
14382
|
+
# [1,2,3].blank? # => false
|
|
14383
|
+
#
|
|
14384
|
+
# @return [true, false]
|
|
14385
|
+
#
|
|
14386
|
+
# source://activesupport//lib/active_support/core_ext/object/blank.rb#102
|
|
14387
|
+
def blank?; end
|
|
14388
|
+
|
|
14256
14389
|
# Removes all blank elements from the +Array+ in place and returns self.
|
|
14257
14390
|
# Uses Object#blank? for determining if an item is blank.
|
|
14258
14391
|
#
|
|
@@ -14470,7 +14603,7 @@ class Array
|
|
|
14470
14603
|
# Blog.none.to_fs(:db) # => "null"
|
|
14471
14604
|
# [1,2].to_fs # => "[1, 2]"
|
|
14472
14605
|
#
|
|
14473
|
-
# source://activesupport//lib/active_support/core_ext/array/conversions.rb#
|
|
14606
|
+
# source://activesupport//lib/active_support/core_ext/array/conversions.rb#106
|
|
14474
14607
|
def to_formatted_s(format = T.unsafe(nil)); end
|
|
14475
14608
|
|
|
14476
14609
|
# Extends <tt>Array#to_s</tt> to convert a collection of elements into a
|
|
@@ -14640,7 +14773,7 @@ class Array
|
|
|
14640
14773
|
# Note: This is an optimization of <tt>Enumerable#excluding</tt> that uses <tt>Array#-</tt>
|
|
14641
14774
|
# instead of <tt>Array#reject</tt> for performance reasons.
|
|
14642
14775
|
#
|
|
14643
|
-
# source://activesupport//lib/active_support/core_ext/array/access.rb#
|
|
14776
|
+
# source://activesupport//lib/active_support/core_ext/array/access.rb#50
|
|
14644
14777
|
def without(*elements); end
|
|
14645
14778
|
|
|
14646
14779
|
class << self
|
|
@@ -14701,9 +14834,6 @@ class BigDecimal < ::Numeric
|
|
|
14701
14834
|
#
|
|
14702
14835
|
# source://activesupport//lib/active_support/core_ext/object/json.rb#134
|
|
14703
14836
|
def as_json(options = T.unsafe(nil)); end
|
|
14704
|
-
|
|
14705
|
-
# source://activesupport//lib/active_support/core_ext/big_decimal/conversions.rb#8
|
|
14706
|
-
def to_s(format = T.unsafe(nil)); end
|
|
14707
14837
|
end
|
|
14708
14838
|
|
|
14709
14839
|
# source://activesupport//lib/active_support/core_ext/class/attribute.rb#6
|
|
@@ -14804,15 +14934,15 @@ class Date
|
|
|
14804
14934
|
include ::DateAndTime::Zones
|
|
14805
14935
|
include ::DateAndTime::Calculations
|
|
14806
14936
|
|
|
14807
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
14937
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#98
|
|
14808
14938
|
def +(other); end
|
|
14809
14939
|
|
|
14810
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
14940
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#108
|
|
14811
14941
|
def -(other); end
|
|
14812
14942
|
|
|
14813
14943
|
# Allow Date to be compared with Time by converting to DateTime and relying on the <=> from there.
|
|
14814
14944
|
#
|
|
14815
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
14945
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#160
|
|
14816
14946
|
def <=>(other); end
|
|
14817
14947
|
|
|
14818
14948
|
# Provides precise Date calculations for years, months, and days. The +options+ parameter takes a hash with
|
|
@@ -14846,32 +14976,32 @@ class Date
|
|
|
14846
14976
|
|
|
14847
14977
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)
|
|
14848
14978
|
#
|
|
14849
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
14979
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#72
|
|
14850
14980
|
def at_beginning_of_day; end
|
|
14851
14981
|
|
|
14852
14982
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the end of the day (23:59:59)
|
|
14853
14983
|
#
|
|
14854
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
14984
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#88
|
|
14855
14985
|
def at_end_of_day; end
|
|
14856
14986
|
|
|
14857
14987
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00)
|
|
14858
14988
|
#
|
|
14859
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
14989
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#80
|
|
14860
14990
|
def at_midday; end
|
|
14861
14991
|
|
|
14862
14992
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00)
|
|
14863
14993
|
#
|
|
14864
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
14994
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#82
|
|
14865
14995
|
def at_middle_of_day; end
|
|
14866
14996
|
|
|
14867
14997
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)
|
|
14868
14998
|
#
|
|
14869
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
14999
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#71
|
|
14870
15000
|
def at_midnight; end
|
|
14871
15001
|
|
|
14872
15002
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00)
|
|
14873
15003
|
#
|
|
14874
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
15004
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#81
|
|
14875
15005
|
def at_noon; end
|
|
14876
15006
|
|
|
14877
15007
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)
|
|
@@ -14893,6 +15023,12 @@ class Date
|
|
|
14893
15023
|
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#152
|
|
14894
15024
|
def compare_with_coercion(other); end
|
|
14895
15025
|
|
|
15026
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#159
|
|
15027
|
+
def compare_without_coercion(_arg0); end
|
|
15028
|
+
|
|
15029
|
+
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#66
|
|
15030
|
+
def default_inspect; end
|
|
15031
|
+
|
|
14896
15032
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the end of the day (23:59:59)
|
|
14897
15033
|
#
|
|
14898
15034
|
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#85
|
|
@@ -14901,17 +15037,17 @@ class Date
|
|
|
14901
15037
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)
|
|
14902
15038
|
# and then adds the specified number of seconds
|
|
14903
15039
|
#
|
|
14904
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
15040
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#64
|
|
14905
15041
|
def in(seconds); end
|
|
14906
15042
|
|
|
14907
15043
|
# Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005"
|
|
14908
15044
|
#
|
|
14909
|
-
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#
|
|
15045
|
+
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#67
|
|
14910
15046
|
def inspect; end
|
|
14911
15047
|
|
|
14912
15048
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00)
|
|
14913
15049
|
#
|
|
14914
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
15050
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#78
|
|
14915
15051
|
def midday; end
|
|
14916
15052
|
|
|
14917
15053
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00)
|
|
@@ -14921,20 +15057,26 @@ class Date
|
|
|
14921
15057
|
|
|
14922
15058
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)
|
|
14923
15059
|
#
|
|
14924
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
15060
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#70
|
|
14925
15061
|
def midnight; end
|
|
14926
15062
|
|
|
14927
15063
|
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#100
|
|
14928
15064
|
def minus_with_duration(other); end
|
|
14929
15065
|
|
|
15066
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#107
|
|
15067
|
+
def minus_without_duration(_arg0); end
|
|
15068
|
+
|
|
14930
15069
|
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00)
|
|
14931
15070
|
#
|
|
14932
|
-
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#
|
|
15071
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#79
|
|
14933
15072
|
def noon; end
|
|
14934
15073
|
|
|
14935
15074
|
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#90
|
|
14936
15075
|
def plus_with_duration(other); end
|
|
14937
15076
|
|
|
15077
|
+
# source://activesupport//lib/active_support/core_ext/date/calculations.rb#97
|
|
15078
|
+
def plus_without_duration(_arg0); end
|
|
15079
|
+
|
|
14938
15080
|
# Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005"
|
|
14939
15081
|
#
|
|
14940
15082
|
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#63
|
|
@@ -14972,7 +15114,7 @@ class Date
|
|
|
14972
15114
|
# Date::DATE_FORMATS[:month_and_year] = '%B %Y'
|
|
14973
15115
|
# Date::DATE_FORMATS[:short_ordinal] = ->(date) { date.strftime("%B #{date.day.ordinalize}") }
|
|
14974
15116
|
#
|
|
14975
|
-
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#
|
|
15117
|
+
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#60
|
|
14976
15118
|
def to_formatted_s(format = T.unsafe(nil)); end
|
|
14977
15119
|
|
|
14978
15120
|
# Convert to a formatted string. See DATE_FORMATS for predefined formats.
|
|
@@ -15019,7 +15161,7 @@ class Date
|
|
|
15019
15161
|
#
|
|
15020
15162
|
# @raise [ArgumentError]
|
|
15021
15163
|
#
|
|
15022
|
-
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#
|
|
15164
|
+
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#69
|
|
15023
15165
|
def to_time(form = T.unsafe(nil)); end
|
|
15024
15166
|
|
|
15025
15167
|
# Returns a string which represents the time in used time zone as DateTime
|
|
@@ -15028,7 +15170,7 @@ class Date
|
|
|
15028
15170
|
# date = Date.new(2015, 05, 23) # => Sat, 23 May 2015
|
|
15029
15171
|
# date.xmlschema # => "2015-05-23T00:00:00+04:00"
|
|
15030
15172
|
#
|
|
15031
|
-
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#
|
|
15173
|
+
# source://activesupport//lib/active_support/core_ext/date/conversions.rb#88
|
|
15032
15174
|
def xmlschema; end
|
|
15033
15175
|
|
|
15034
15176
|
class << self
|
|
@@ -15134,7 +15276,7 @@ module DateAndTime::Calculations
|
|
|
15134
15276
|
# now = DateTime.current # => Thu, 18 Jun 2015 15:23:13 +0000
|
|
15135
15277
|
# now.beginning_of_month # => Mon, 01 Jun 2015 00:00:00 +0000
|
|
15136
15278
|
#
|
|
15137
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15279
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#128
|
|
15138
15280
|
def at_beginning_of_month; end
|
|
15139
15281
|
|
|
15140
15282
|
# Returns a new date/time at the start of the quarter.
|
|
@@ -15147,7 +15289,7 @@ module DateAndTime::Calculations
|
|
|
15147
15289
|
# now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000
|
|
15148
15290
|
# now.beginning_of_quarter # => Wed, 01 Jul 2015 00:00:00 +0000
|
|
15149
15291
|
#
|
|
15150
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15292
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#143
|
|
15151
15293
|
def at_beginning_of_quarter; end
|
|
15152
15294
|
|
|
15153
15295
|
# Returns a new date/time representing the start of this week on the given day.
|
|
@@ -15155,7 +15297,7 @@ module DateAndTime::Calculations
|
|
|
15155
15297
|
# +Date.beginning_of_week+ or +config.beginning_of_week+ when set.
|
|
15156
15298
|
# +DateTime+ objects have their time set to 0:00.
|
|
15157
15299
|
#
|
|
15158
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15300
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#271
|
|
15159
15301
|
def at_beginning_of_week(start_day = T.unsafe(nil)); end
|
|
15160
15302
|
|
|
15161
15303
|
# Returns a new date/time at the beginning of the year.
|
|
@@ -15168,13 +15310,13 @@ module DateAndTime::Calculations
|
|
|
15168
15310
|
# now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000
|
|
15169
15311
|
# now.beginning_of_year # => Thu, 01 Jan 2015 00:00:00 +0000
|
|
15170
15312
|
#
|
|
15171
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15313
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#182
|
|
15172
15314
|
def at_beginning_of_year; end
|
|
15173
15315
|
|
|
15174
15316
|
# Returns a new date/time representing the end of the month.
|
|
15175
15317
|
# DateTime objects will have a time set to 23:59:59.
|
|
15176
15318
|
#
|
|
15177
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15319
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#300
|
|
15178
15320
|
def at_end_of_month; end
|
|
15179
15321
|
|
|
15180
15322
|
# Returns a new date/time at the end of the quarter.
|
|
@@ -15187,7 +15329,7 @@ module DateAndTime::Calculations
|
|
|
15187
15329
|
# now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000
|
|
15188
15330
|
# now.end_of_quarter # => Wed, 30 Sep 2015 23:59:59 +0000
|
|
15189
15331
|
#
|
|
15190
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15332
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#158
|
|
15191
15333
|
def at_end_of_quarter; end
|
|
15192
15334
|
|
|
15193
15335
|
# Returns a new date/time representing the end of this week on the given day.
|
|
@@ -15195,13 +15337,13 @@ module DateAndTime::Calculations
|
|
|
15195
15337
|
# +Date.beginning_of_week+ or +config.beginning_of_week+ when set.
|
|
15196
15338
|
# DateTime objects have their time set to 23:59:59.
|
|
15197
15339
|
#
|
|
15198
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15340
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#286
|
|
15199
15341
|
def at_end_of_week(start_day = T.unsafe(nil)); end
|
|
15200
15342
|
|
|
15201
15343
|
# Returns a new date/time representing the end of the year.
|
|
15202
15344
|
# DateTime objects will have a time set to 23:59:59.
|
|
15203
15345
|
#
|
|
15204
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15346
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#307
|
|
15205
15347
|
def at_end_of_year; end
|
|
15206
15348
|
|
|
15207
15349
|
# Returns true if the date/time falls before <tt>date_or_time</tt>.
|
|
@@ -15322,7 +15464,7 @@ module DateAndTime::Calculations
|
|
|
15322
15464
|
|
|
15323
15465
|
# Short-hand for <tt>months_ago(3)</tt>.
|
|
15324
15466
|
#
|
|
15325
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15467
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#248
|
|
15326
15468
|
def last_quarter; end
|
|
15327
15469
|
|
|
15328
15470
|
# Returns a new date/time representing the given day in the previous week.
|
|
@@ -15330,12 +15472,12 @@ module DateAndTime::Calculations
|
|
|
15330
15472
|
# +Date.beginning_of_week+ or +config.beginning_of_week+ when set.
|
|
15331
15473
|
# DateTime objects have their time set to 0:00 unless +same_time+ is true.
|
|
15332
15474
|
#
|
|
15333
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15475
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#227
|
|
15334
15476
|
def last_week(start_day = T.unsafe(nil), same_time: T.unsafe(nil)); end
|
|
15335
15477
|
|
|
15336
15478
|
# Returns a new date/time representing the previous weekday.
|
|
15337
15479
|
#
|
|
15338
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15480
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#237
|
|
15339
15481
|
def last_weekday; end
|
|
15340
15482
|
|
|
15341
15483
|
# Short-hand for <tt>years_ago(1)</tt>.
|
|
@@ -15363,7 +15505,7 @@ module DateAndTime::Calculations
|
|
|
15363
15505
|
#
|
|
15364
15506
|
# @return [Boolean]
|
|
15365
15507
|
#
|
|
15366
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15508
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#38
|
|
15367
15509
|
def next_day?; end
|
|
15368
15510
|
|
|
15369
15511
|
# Returns a new date/time representing the next occurrence of the specified day of week.
|
|
@@ -15430,7 +15572,7 @@ module DateAndTime::Calculations
|
|
|
15430
15572
|
#
|
|
15431
15573
|
# @return [Boolean]
|
|
15432
15574
|
#
|
|
15433
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#
|
|
15575
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#44
|
|
15434
15576
|
def prev_day?; end
|
|
15435
15577
|
|
|
15436
15578
|
# Returns a new date/time representing the previous occurrence of the specified day of week.
|
|
@@ -15563,7 +15705,7 @@ module DateAndTime::Compatibility
|
|
|
15563
15705
|
# is in turn included in several places. This will all go away in
|
|
15564
15706
|
# Rails 8.0 anyway.
|
|
15565
15707
|
#
|
|
15566
|
-
# source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#
|
|
15708
|
+
# source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#15
|
|
15567
15709
|
def preserve_timezone; end
|
|
15568
15710
|
|
|
15569
15711
|
# source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#15
|
|
@@ -15635,52 +15777,52 @@ class DateTime < ::Date
|
|
|
15635
15777
|
|
|
15636
15778
|
# Returns a new DateTime representing the start of the day (0:00).
|
|
15637
15779
|
#
|
|
15638
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15780
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#127
|
|
15639
15781
|
def at_beginning_of_day; end
|
|
15640
15782
|
|
|
15641
15783
|
# Returns a new DateTime representing the start of the hour (hh:00:00).
|
|
15642
15784
|
#
|
|
15643
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15785
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#149
|
|
15644
15786
|
def at_beginning_of_hour; end
|
|
15645
15787
|
|
|
15646
15788
|
# Returns a new DateTime representing the start of the minute (hh:mm:00).
|
|
15647
15789
|
#
|
|
15648
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15790
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#161
|
|
15649
15791
|
def at_beginning_of_minute; end
|
|
15650
15792
|
|
|
15651
15793
|
# Returns a new DateTime representing the end of the day (23:59:59).
|
|
15652
15794
|
#
|
|
15653
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15795
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#143
|
|
15654
15796
|
def at_end_of_day; end
|
|
15655
15797
|
|
|
15656
15798
|
# Returns a new DateTime representing the end of the hour (hh:59:59).
|
|
15657
15799
|
#
|
|
15658
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15800
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#155
|
|
15659
15801
|
def at_end_of_hour; end
|
|
15660
15802
|
|
|
15661
15803
|
# Returns a new DateTime representing the end of the minute (hh:mm:59).
|
|
15662
15804
|
#
|
|
15663
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15805
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#167
|
|
15664
15806
|
def at_end_of_minute; end
|
|
15665
15807
|
|
|
15666
15808
|
# Returns a new DateTime representing the middle of the day (12:00)
|
|
15667
15809
|
#
|
|
15668
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15810
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#135
|
|
15669
15811
|
def at_midday; end
|
|
15670
15812
|
|
|
15671
15813
|
# Returns a new DateTime representing the middle of the day (12:00)
|
|
15672
15814
|
#
|
|
15673
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15815
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#137
|
|
15674
15816
|
def at_middle_of_day; end
|
|
15675
15817
|
|
|
15676
15818
|
# Returns a new DateTime representing the start of the day (0:00).
|
|
15677
15819
|
#
|
|
15678
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15820
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#126
|
|
15679
15821
|
def at_midnight; end
|
|
15680
15822
|
|
|
15681
15823
|
# Returns a new DateTime representing the middle of the day (12:00)
|
|
15682
15824
|
#
|
|
15683
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15825
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#136
|
|
15684
15826
|
def at_noon; end
|
|
15685
15827
|
|
|
15686
15828
|
# Returns a new DateTime representing the start of the day (0:00).
|
|
@@ -15715,6 +15857,9 @@ class DateTime < ::Date
|
|
|
15715
15857
|
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#51
|
|
15716
15858
|
def change(options); end
|
|
15717
15859
|
|
|
15860
|
+
# source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#59
|
|
15861
|
+
def default_inspect; end
|
|
15862
|
+
|
|
15718
15863
|
# Returns a new DateTime representing the end of the day (23:59:59).
|
|
15719
15864
|
#
|
|
15720
15865
|
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#140
|
|
@@ -15745,12 +15890,12 @@ class DateTime < ::Date
|
|
|
15745
15890
|
# DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600
|
|
15746
15891
|
# DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC
|
|
15747
15892
|
#
|
|
15748
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15893
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#192
|
|
15749
15894
|
def getgm; end
|
|
15750
15895
|
|
|
15751
15896
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the system timezone.
|
|
15752
15897
|
#
|
|
15753
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15898
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#178
|
|
15754
15899
|
def getlocal(utc_offset = T.unsafe(nil)); end
|
|
15755
15900
|
|
|
15756
15901
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the UTC timezone.
|
|
@@ -15758,7 +15903,7 @@ class DateTime < ::Date
|
|
|
15758
15903
|
# DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600
|
|
15759
15904
|
# DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC
|
|
15760
15905
|
#
|
|
15761
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15906
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#193
|
|
15762
15907
|
def getutc; end
|
|
15763
15908
|
|
|
15764
15909
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the UTC timezone.
|
|
@@ -15766,19 +15911,19 @@ class DateTime < ::Date
|
|
|
15766
15911
|
# DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600
|
|
15767
15912
|
# DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC
|
|
15768
15913
|
#
|
|
15769
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15914
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#194
|
|
15770
15915
|
def gmtime; end
|
|
15771
15916
|
|
|
15772
15917
|
# Returns a new DateTime representing the time a number of seconds since the
|
|
15773
15918
|
# instance time. Do not use this method in combination with x.months, use
|
|
15774
15919
|
# months_since instead!
|
|
15775
15920
|
#
|
|
15776
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15921
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#119
|
|
15777
15922
|
def in(seconds); end
|
|
15778
15923
|
|
|
15779
15924
|
# Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005 14:30:00 +0000".
|
|
15780
15925
|
#
|
|
15781
|
-
# source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#
|
|
15926
|
+
# source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#60
|
|
15782
15927
|
def inspect; end
|
|
15783
15928
|
|
|
15784
15929
|
# Returns a <tt>Time</tt> instance of the simultaneous time in the system timezone.
|
|
@@ -15788,7 +15933,7 @@ class DateTime < ::Date
|
|
|
15788
15933
|
|
|
15789
15934
|
# Returns a new DateTime representing the middle of the day (12:00)
|
|
15790
15935
|
#
|
|
15791
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15936
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#133
|
|
15792
15937
|
def midday; end
|
|
15793
15938
|
|
|
15794
15939
|
# Returns a new DateTime representing the middle of the day (12:00)
|
|
@@ -15798,12 +15943,12 @@ class DateTime < ::Date
|
|
|
15798
15943
|
|
|
15799
15944
|
# Returns a new DateTime representing the start of the day (0:00).
|
|
15800
15945
|
#
|
|
15801
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15946
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#125
|
|
15802
15947
|
def midnight; end
|
|
15803
15948
|
|
|
15804
15949
|
# Returns a new DateTime representing the middle of the day (12:00)
|
|
15805
15950
|
#
|
|
15806
|
-
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#
|
|
15951
|
+
# source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#134
|
|
15807
15952
|
def noon; end
|
|
15808
15953
|
|
|
15809
15954
|
# Returns the fraction of a second as nanoseconds
|
|
@@ -15879,7 +16024,7 @@ class DateTime < ::Date
|
|
|
15879
16024
|
# Time::DATE_FORMATS[:month_and_year] = '%B %Y'
|
|
15880
16025
|
# Time::DATE_FORMATS[:short_ordinal] = lambda { |time| time.strftime("%B #{time.day.ordinalize}") }
|
|
15881
16026
|
#
|
|
15882
|
-
# source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#
|
|
16027
|
+
# source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#42
|
|
15883
16028
|
def to_formatted_s(format = T.unsafe(nil)); end
|
|
15884
16029
|
|
|
15885
16030
|
# Convert to a formatted string. See Time::DATE_FORMATS for predefined formats.
|
|
@@ -15975,15 +16120,7 @@ class Delegator < ::BasicObject
|
|
|
15975
16120
|
include ::ActiveSupport::Tryable
|
|
15976
16121
|
end
|
|
15977
16122
|
|
|
15978
|
-
module ERB::Escape
|
|
15979
|
-
private
|
|
15980
|
-
|
|
15981
|
-
def html_escape(_arg0); end
|
|
15982
|
-
|
|
15983
|
-
class << self
|
|
15984
|
-
def html_escape(_arg0); end
|
|
15985
|
-
end
|
|
15986
|
-
end
|
|
16123
|
+
module ERB::Escape; end
|
|
15987
16124
|
|
|
15988
16125
|
# source://activesupport//lib/active_support/core_ext/erb/util.rb#39
|
|
15989
16126
|
module ERB::Util
|
|
@@ -16074,12 +16211,6 @@ module ERB::Util
|
|
|
16074
16211
|
def xml_name_escape(name); end
|
|
16075
16212
|
|
|
16076
16213
|
class << self
|
|
16077
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#25
|
|
16078
|
-
def h(s); end
|
|
16079
|
-
|
|
16080
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#25
|
|
16081
|
-
def html_escape(s); end
|
|
16082
|
-
|
|
16083
16214
|
# A utility method for escaping HTML without affecting existing escaped entities.
|
|
16084
16215
|
#
|
|
16085
16216
|
# html_escape_once('1 < 2 & 3')
|
|
@@ -16088,7 +16219,7 @@ module ERB::Util
|
|
|
16088
16219
|
# html_escape_once('<< Accept & Checkout')
|
|
16089
16220
|
# # => "<< Accept & Checkout"
|
|
16090
16221
|
#
|
|
16091
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
16222
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#67
|
|
16092
16223
|
def html_escape_once(s); end
|
|
16093
16224
|
|
|
16094
16225
|
# A utility method for escaping HTML entities in JSON strings. Specifically, the
|
|
@@ -16147,7 +16278,7 @@ module ERB::Util
|
|
|
16147
16278
|
# JSON gem, do not provide this kind of protection by default; also some gems
|
|
16148
16279
|
# might override +to_json+ to bypass Active Support's encoder).
|
|
16149
16280
|
#
|
|
16150
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
16281
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#134
|
|
16151
16282
|
def json_escape(s); end
|
|
16152
16283
|
|
|
16153
16284
|
# Tokenizes a line of ERB. This is really just for error reporting and
|
|
@@ -16166,7 +16297,7 @@ module ERB::Util
|
|
|
16166
16297
|
#
|
|
16167
16298
|
# It follows the requirements of the specification: https://www.w3.org/TR/REC-xml/#NT-Name
|
|
16168
16299
|
#
|
|
16169
|
-
# source://activesupport//lib/active_support/core_ext/erb/util.rb#
|
|
16300
|
+
# source://activesupport//lib/active_support/core_ext/erb/util.rb#157
|
|
16170
16301
|
def xml_name_escape(name); end
|
|
16171
16302
|
end
|
|
16172
16303
|
end
|
|
@@ -16366,7 +16497,7 @@ module Enumerable
|
|
|
16366
16497
|
# {foo: 1, bar: 2, baz: 3}.excluding :bar
|
|
16367
16498
|
# # => {foo: 1, baz: 3}
|
|
16368
16499
|
#
|
|
16369
|
-
# source://activesupport//lib/active_support/core_ext/enumerable.rb#
|
|
16500
|
+
# source://activesupport//lib/active_support/core_ext/enumerable.rb#136
|
|
16370
16501
|
def without(*elements); end
|
|
16371
16502
|
end
|
|
16372
16503
|
|
|
@@ -16466,6 +16597,16 @@ class Hash
|
|
|
16466
16597
|
# source://activesupport//lib/active_support/core_ext/hash/keys.rb#48
|
|
16467
16598
|
def assert_valid_keys(*valid_keys); end
|
|
16468
16599
|
|
|
16600
|
+
# A hash is blank if it's empty:
|
|
16601
|
+
#
|
|
16602
|
+
# {}.blank? # => true
|
|
16603
|
+
# { key: 'value' }.blank? # => false
|
|
16604
|
+
#
|
|
16605
|
+
# @return [true, false]
|
|
16606
|
+
#
|
|
16607
|
+
# source://activesupport//lib/active_support/core_ext/object/blank.rb#116
|
|
16608
|
+
def blank?; end
|
|
16609
|
+
|
|
16469
16610
|
# Hash#reject has its own definition, so this needs one too.
|
|
16470
16611
|
#
|
|
16471
16612
|
# source://activesupport//lib/active_support/core_ext/enumerable.rb#222
|
|
@@ -16616,7 +16757,7 @@ class Hash
|
|
|
16616
16757
|
# { a: b }.with_indifferent_access['a'] # calls b.nested_under_indifferent_access
|
|
16617
16758
|
# # => {"b"=>1}
|
|
16618
16759
|
#
|
|
16619
|
-
# source://activesupport//lib/active_support/core_ext/hash/indifferent_access.rb#
|
|
16760
|
+
# source://activesupport//lib/active_support/core_ext/hash/indifferent_access.rb#23
|
|
16620
16761
|
def nested_under_indifferent_access; end
|
|
16621
16762
|
|
|
16622
16763
|
# @return [Boolean]
|
|
@@ -16645,7 +16786,7 @@ class Hash
|
|
|
16645
16786
|
|
|
16646
16787
|
# Destructive +reverse_merge+.
|
|
16647
16788
|
#
|
|
16648
|
-
# source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#
|
|
16789
|
+
# source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#23
|
|
16649
16790
|
def reverse_update(other_hash); end
|
|
16650
16791
|
|
|
16651
16792
|
# Replaces the hash with only the given keys.
|
|
@@ -16699,13 +16840,13 @@ class Hash
|
|
|
16699
16840
|
# hash.symbolize_keys
|
|
16700
16841
|
# # => {:name=>"Rob", :age=>"28"}
|
|
16701
16842
|
#
|
|
16702
|
-
# source://activesupport//lib/active_support/core_ext/hash/keys.rb#
|
|
16843
|
+
# source://activesupport//lib/active_support/core_ext/hash/keys.rb#30
|
|
16703
16844
|
def to_options; end
|
|
16704
16845
|
|
|
16705
16846
|
# Destructively converts all keys to symbols, as long as they respond
|
|
16706
16847
|
# to +to_sym+. Same as +symbolize_keys+, but modifies +self+.
|
|
16707
16848
|
#
|
|
16708
|
-
# source://activesupport//lib/active_support/core_ext/hash/keys.rb#
|
|
16849
|
+
# source://activesupport//lib/active_support/core_ext/hash/keys.rb#37
|
|
16709
16850
|
def to_options!; end
|
|
16710
16851
|
|
|
16711
16852
|
# Returns a string representation of the receiver suitable for use as a URL
|
|
@@ -16722,7 +16863,7 @@ class Hash
|
|
|
16722
16863
|
# The string pairs "key=value" that conform the query string
|
|
16723
16864
|
# are sorted lexicographically in ascending order.
|
|
16724
16865
|
#
|
|
16725
|
-
# source://activesupport//lib/active_support/core_ext/object/to_query.rb#
|
|
16866
|
+
# source://activesupport//lib/active_support/core_ext/object/to_query.rb#86
|
|
16726
16867
|
def to_param(namespace = T.unsafe(nil)); end
|
|
16727
16868
|
|
|
16728
16869
|
# Returns a string representation of the receiver suitable for use as a URL
|
|
@@ -16819,12 +16960,12 @@ class Hash
|
|
|
16819
16960
|
# This is particularly useful for initializing an options hash
|
|
16820
16961
|
# with default values.
|
|
16821
16962
|
#
|
|
16822
|
-
# source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#
|
|
16963
|
+
# source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#17
|
|
16823
16964
|
def with_defaults(other_hash); end
|
|
16824
16965
|
|
|
16825
16966
|
# Destructive +reverse_merge+.
|
|
16826
16967
|
#
|
|
16827
|
-
# source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#
|
|
16968
|
+
# source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#24
|
|
16828
16969
|
def with_defaults!(other_hash); end
|
|
16829
16970
|
|
|
16830
16971
|
# Returns an ActiveSupport::HashWithIndifferentAccess out of its receiver:
|
|
@@ -16991,16 +17132,7 @@ IO::Buffer::PAGE_SIZE = T.let(T.unsafe(nil), Integer)
|
|
|
16991
17132
|
IO::Buffer::PRIVATE = T.let(T.unsafe(nil), Integer)
|
|
16992
17133
|
IO::Buffer::READONLY = T.let(T.unsafe(nil), Integer)
|
|
16993
17134
|
IO::Buffer::SHARED = T.let(T.unsafe(nil), Integer)
|
|
16994
|
-
|
|
16995
|
-
class IO::ConsoleMode
|
|
16996
|
-
def echo=(_arg0); end
|
|
16997
|
-
def raw(*_arg0); end
|
|
16998
|
-
def raw!(*_arg0); end
|
|
16999
|
-
|
|
17000
|
-
private
|
|
17001
|
-
|
|
17002
|
-
def initialize_copy(_arg0); end
|
|
17003
|
-
end
|
|
17135
|
+
class IO::ConsoleMode; end
|
|
17004
17136
|
|
|
17005
17137
|
class IO::EAGAINWaitReadable < ::Errno::EAGAIN
|
|
17006
17138
|
include ::IO::WaitReadable
|
|
@@ -17188,7 +17320,7 @@ class Module
|
|
|
17188
17320
|
# Person.class_variable_get("@@hair_colors") # => [:brown, :black, :blonde, :red]
|
|
17189
17321
|
# Person.class_variable_get("@@hair_styles") # => [:long, :short]
|
|
17190
17322
|
#
|
|
17191
|
-
# source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#
|
|
17323
|
+
# source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#213
|
|
17192
17324
|
def cattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), &blk); end
|
|
17193
17325
|
|
|
17194
17326
|
# Defines a class attribute and creates a class and instance reader methods.
|
|
@@ -17240,7 +17372,7 @@ class Module
|
|
|
17240
17372
|
#
|
|
17241
17373
|
# @raise [TypeError]
|
|
17242
17374
|
#
|
|
17243
|
-
# source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#
|
|
17375
|
+
# source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#75
|
|
17244
17376
|
def cattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
|
|
17245
17377
|
|
|
17246
17378
|
# Defines a class attribute and creates a class and instance writer methods to
|
|
@@ -17290,7 +17422,7 @@ class Module
|
|
|
17290
17422
|
#
|
|
17291
17423
|
# @raise [TypeError]
|
|
17292
17424
|
#
|
|
17293
|
-
# source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#
|
|
17425
|
+
# source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#140
|
|
17294
17426
|
def cattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
|
|
17295
17427
|
|
|
17296
17428
|
# Returns a copy of module or class if it's anonymous. If it's
|
|
@@ -17807,7 +17939,7 @@ class Numeric
|
|
|
17807
17939
|
#
|
|
17808
17940
|
# 2.bytes # => 2
|
|
17809
17941
|
#
|
|
17810
|
-
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#
|
|
17942
|
+
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#18
|
|
17811
17943
|
def byte; end
|
|
17812
17944
|
|
|
17813
17945
|
# Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes
|
|
@@ -17821,7 +17953,7 @@ class Numeric
|
|
|
17821
17953
|
#
|
|
17822
17954
|
# 2.exabytes # => 2_305_843_009_213_693_952
|
|
17823
17955
|
#
|
|
17824
|
-
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#
|
|
17956
|
+
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#66
|
|
17825
17957
|
def exabyte; end
|
|
17826
17958
|
|
|
17827
17959
|
# Returns the number of bytes equivalent to the exabytes provided.
|
|
@@ -17835,7 +17967,7 @@ class Numeric
|
|
|
17835
17967
|
#
|
|
17836
17968
|
# 2.gigabytes # => 2_147_483_648
|
|
17837
17969
|
#
|
|
17838
|
-
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#
|
|
17970
|
+
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#42
|
|
17839
17971
|
def gigabyte; end
|
|
17840
17972
|
|
|
17841
17973
|
# Returns the number of bytes equivalent to the gigabytes provided.
|
|
@@ -17854,7 +17986,7 @@ class Numeric
|
|
|
17854
17986
|
#
|
|
17855
17987
|
# 2.kilobytes # => 2048
|
|
17856
17988
|
#
|
|
17857
|
-
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#
|
|
17989
|
+
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#26
|
|
17858
17990
|
def kilobyte; end
|
|
17859
17991
|
|
|
17860
17992
|
# Returns the number of bytes equivalent to the kilobytes provided.
|
|
@@ -17868,7 +18000,7 @@ class Numeric
|
|
|
17868
18000
|
#
|
|
17869
18001
|
# 2.megabytes # => 2_097_152
|
|
17870
18002
|
#
|
|
17871
|
-
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#
|
|
18003
|
+
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#34
|
|
17872
18004
|
def megabyte; end
|
|
17873
18005
|
|
|
17874
18006
|
# Returns the number of bytes equivalent to the megabytes provided.
|
|
@@ -17882,7 +18014,7 @@ class Numeric
|
|
|
17882
18014
|
#
|
|
17883
18015
|
# 2.petabytes # => 2_251_799_813_685_248
|
|
17884
18016
|
#
|
|
17885
|
-
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#
|
|
18017
|
+
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#58
|
|
17886
18018
|
def petabyte; end
|
|
17887
18019
|
|
|
17888
18020
|
# Returns the number of bytes equivalent to the petabytes provided.
|
|
@@ -17901,7 +18033,7 @@ class Numeric
|
|
|
17901
18033
|
#
|
|
17902
18034
|
# 2.terabytes # => 2_199_023_255_552
|
|
17903
18035
|
#
|
|
17904
|
-
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#
|
|
18036
|
+
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#50
|
|
17905
18037
|
def terabyte; end
|
|
17906
18038
|
|
|
17907
18039
|
# Returns the number of bytes equivalent to the terabytes provided.
|
|
@@ -17915,7 +18047,7 @@ class Numeric
|
|
|
17915
18047
|
#
|
|
17916
18048
|
# 2.zettabytes # => 2_361_183_241_434_822_606_848
|
|
17917
18049
|
#
|
|
17918
|
-
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#
|
|
18050
|
+
# source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#74
|
|
17919
18051
|
def zettabyte; end
|
|
17920
18052
|
|
|
17921
18053
|
# Returns the number of bytes equivalent to the zettabytes provided.
|
|
@@ -18308,7 +18440,7 @@ class String
|
|
|
18308
18440
|
#
|
|
18309
18441
|
# See ActiveSupport::Inflector.camelize.
|
|
18310
18442
|
#
|
|
18311
|
-
# source://activesupport//lib/active_support/core_ext/string/inflections.rb#
|
|
18443
|
+
# source://activesupport//lib/active_support/core_ext/string/inflections.rb#111
|
|
18312
18444
|
def camelcase(first_letter = T.unsafe(nil)); end
|
|
18313
18445
|
|
|
18314
18446
|
# By default, +camelize+ converts strings to UpperCamelCase. If the argument to camelize
|
|
@@ -18400,6 +18532,9 @@ class String
|
|
|
18400
18532
|
# source://activesupport//lib/active_support/core_ext/string/inflections.rb#284
|
|
18401
18533
|
def downcase_first; end
|
|
18402
18534
|
|
|
18535
|
+
# source://activesupport//lib/active_support/core_ext/string/starts_ends_with.rb#5
|
|
18536
|
+
def ends_with?(*_arg0); end
|
|
18537
|
+
|
|
18403
18538
|
# The inverse of <tt>String#include?</tt>. Returns true if the string
|
|
18404
18539
|
# does not include the other string.
|
|
18405
18540
|
#
|
|
@@ -18746,6 +18881,9 @@ class String
|
|
|
18746
18881
|
# source://activesupport//lib/active_support/core_ext/string/filters.rb#21
|
|
18747
18882
|
def squish!; end
|
|
18748
18883
|
|
|
18884
|
+
# source://activesupport//lib/active_support/core_ext/string/starts_ends_with.rb#4
|
|
18885
|
+
def starts_with?(*_arg0); end
|
|
18886
|
+
|
|
18749
18887
|
# Strips indentation in heredocs.
|
|
18750
18888
|
#
|
|
18751
18889
|
# For example in
|
|
@@ -18794,7 +18932,7 @@ class String
|
|
|
18794
18932
|
#
|
|
18795
18933
|
# See ActiveSupport::Inflector.titleize.
|
|
18796
18934
|
#
|
|
18797
|
-
# source://activesupport//lib/active_support/core_ext/string/inflections.rb#
|
|
18935
|
+
# source://activesupport//lib/active_support/core_ext/string/inflections.rb#129
|
|
18798
18936
|
def titlecase(keep_id_suffix: T.unsafe(nil)); end
|
|
18799
18937
|
|
|
18800
18938
|
# Capitalizes all the words and replaces some characters in the string to create
|
|
@@ -18979,6 +19117,14 @@ class Symbol
|
|
|
18979
19117
|
# source://activesupport//lib/active_support/core_ext/object/json.rb#105
|
|
18980
19118
|
def as_json(options = T.unsafe(nil)); end
|
|
18981
19119
|
|
|
19120
|
+
# A Symbol is blank if it's empty:
|
|
19121
|
+
#
|
|
19122
|
+
# :''.blank? # => true
|
|
19123
|
+
# :symbol.blank? # => false
|
|
19124
|
+
#
|
|
19125
|
+
# source://activesupport//lib/active_support/core_ext/object/blank.rb#128
|
|
19126
|
+
def blank?; end
|
|
19127
|
+
|
|
18982
19128
|
# @return [Boolean]
|
|
18983
19129
|
#
|
|
18984
19130
|
# source://activesupport//lib/active_support/core_ext/object/blank.rb#130
|
|
@@ -18999,20 +19145,20 @@ class Time
|
|
|
18999
19145
|
include ::DateAndTime::Zones
|
|
19000
19146
|
include ::DateAndTime::Calculations
|
|
19001
19147
|
|
|
19002
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19148
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#305
|
|
19003
19149
|
def +(other); end
|
|
19004
19150
|
|
|
19005
19151
|
# Time#- can also be used to determine the number of seconds between two Time instances.
|
|
19006
19152
|
# We're layering on additional behavior so that ActiveSupport::TimeWithZone instances
|
|
19007
19153
|
# are coerced into values that Time#- will recognize
|
|
19008
19154
|
#
|
|
19009
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19155
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#315
|
|
19010
19156
|
def -(other); end
|
|
19011
19157
|
|
|
19012
19158
|
# Layers additional behavior on Time#<=> so that DateTime and ActiveSupport::TimeWithZone instances
|
|
19013
19159
|
# can be chronologically compared with a Time
|
|
19014
19160
|
#
|
|
19015
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19161
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#345
|
|
19016
19162
|
def <=>(other); end
|
|
19017
19163
|
|
|
19018
19164
|
# Duck-types as a Time-like class. See Object#acts_like?.
|
|
@@ -19051,52 +19197,52 @@ class Time
|
|
|
19051
19197
|
|
|
19052
19198
|
# Returns a new Time representing the start of the day (0:00)
|
|
19053
19199
|
#
|
|
19054
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19200
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#243
|
|
19055
19201
|
def at_beginning_of_day; end
|
|
19056
19202
|
|
|
19057
19203
|
# Returns a new Time representing the start of the hour (x:00)
|
|
19058
19204
|
#
|
|
19059
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19205
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#270
|
|
19060
19206
|
def at_beginning_of_hour; end
|
|
19061
19207
|
|
|
19062
19208
|
# Returns a new Time representing the start of the minute (x:xx:00)
|
|
19063
19209
|
#
|
|
19064
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19210
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#286
|
|
19065
19211
|
def at_beginning_of_minute; end
|
|
19066
19212
|
|
|
19067
19213
|
# Returns a new Time representing the end of the day, 23:59:59.999999
|
|
19068
19214
|
#
|
|
19069
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19215
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#264
|
|
19070
19216
|
def at_end_of_day; end
|
|
19071
19217
|
|
|
19072
19218
|
# Returns a new Time representing the end of the hour, x:59:59.999999
|
|
19073
19219
|
#
|
|
19074
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19220
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#280
|
|
19075
19221
|
def at_end_of_hour; end
|
|
19076
19222
|
|
|
19077
19223
|
# Returns a new Time representing the end of the minute, x:xx:59.999999
|
|
19078
19224
|
#
|
|
19079
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19225
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#295
|
|
19080
19226
|
def at_end_of_minute; end
|
|
19081
19227
|
|
|
19082
19228
|
# Returns a new Time representing the middle of the day (12:00)
|
|
19083
19229
|
#
|
|
19084
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19230
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#251
|
|
19085
19231
|
def at_midday; end
|
|
19086
19232
|
|
|
19087
19233
|
# Returns a new Time representing the middle of the day (12:00)
|
|
19088
19234
|
#
|
|
19089
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19235
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#253
|
|
19090
19236
|
def at_middle_of_day; end
|
|
19091
19237
|
|
|
19092
19238
|
# Returns a new Time representing the start of the day (0:00)
|
|
19093
19239
|
#
|
|
19094
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19240
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#242
|
|
19095
19241
|
def at_midnight; end
|
|
19096
19242
|
|
|
19097
19243
|
# Returns a new Time representing the middle of the day (12:00)
|
|
19098
19244
|
#
|
|
19099
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19245
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#252
|
|
19100
19246
|
def at_noon; end
|
|
19101
19247
|
|
|
19102
19248
|
# Returns a new Time representing the start of the day (0:00)
|
|
@@ -19147,6 +19293,9 @@ class Time
|
|
|
19147
19293
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#329
|
|
19148
19294
|
def compare_with_coercion(other); end
|
|
19149
19295
|
|
|
19296
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#344
|
|
19297
|
+
def compare_without_coercion(_arg0); end
|
|
19298
|
+
|
|
19150
19299
|
# Returns a new Time representing the end of the day, 23:59:59.999999
|
|
19151
19300
|
#
|
|
19152
19301
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#256
|
|
@@ -19165,7 +19314,7 @@ class Time
|
|
|
19165
19314
|
# Layers additional behavior on Time#eql? so that ActiveSupport::TimeWithZone instances
|
|
19166
19315
|
# can be eql? to an equivalent Time
|
|
19167
19316
|
#
|
|
19168
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19317
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#355
|
|
19169
19318
|
def eql?(other); end
|
|
19170
19319
|
|
|
19171
19320
|
# Layers additional behavior on Time#eql? so that ActiveSupport::TimeWithZone instances
|
|
@@ -19174,6 +19323,9 @@ class Time
|
|
|
19174
19323
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#349
|
|
19175
19324
|
def eql_with_coercion(other); end
|
|
19176
19325
|
|
|
19326
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#354
|
|
19327
|
+
def eql_without_coercion(_arg0); end
|
|
19328
|
+
|
|
19177
19329
|
# Returns a formatted string of the offset from UTC, or an alternative
|
|
19178
19330
|
# string if the time zone is already UTC.
|
|
19179
19331
|
#
|
|
@@ -19185,12 +19337,12 @@ class Time
|
|
|
19185
19337
|
|
|
19186
19338
|
# Returns a new Time representing the time a number of seconds since the instance time
|
|
19187
19339
|
#
|
|
19188
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19340
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#235
|
|
19189
19341
|
def in(seconds); end
|
|
19190
19342
|
|
|
19191
19343
|
# Returns a new Time representing the middle of the day (12:00)
|
|
19192
19344
|
#
|
|
19193
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19345
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#249
|
|
19194
19346
|
def midday; end
|
|
19195
19347
|
|
|
19196
19348
|
# Returns a new Time representing the middle of the day (12:00)
|
|
@@ -19200,7 +19352,7 @@ class Time
|
|
|
19200
19352
|
|
|
19201
19353
|
# Returns a new Time representing the start of the day (0:00)
|
|
19202
19354
|
#
|
|
19203
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19355
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#241
|
|
19204
19356
|
def midnight; end
|
|
19205
19357
|
|
|
19206
19358
|
# Time#- can also be used to determine the number of seconds between two Time instances.
|
|
@@ -19213,9 +19365,12 @@ class Time
|
|
|
19213
19365
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#307
|
|
19214
19366
|
def minus_with_duration(other); end
|
|
19215
19367
|
|
|
19216
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19368
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#324
|
|
19217
19369
|
def minus_without_coercion(other); end
|
|
19218
19370
|
|
|
19371
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#314
|
|
19372
|
+
def minus_without_duration(_arg0); end
|
|
19373
|
+
|
|
19219
19374
|
# Returns a new time the specified number of days in the future.
|
|
19220
19375
|
#
|
|
19221
19376
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#363
|
|
@@ -19233,12 +19388,15 @@ class Time
|
|
|
19233
19388
|
|
|
19234
19389
|
# Returns a new Time representing the middle of the day (12:00)
|
|
19235
19390
|
#
|
|
19236
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19391
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#250
|
|
19237
19392
|
def noon; end
|
|
19238
19393
|
|
|
19239
19394
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#297
|
|
19240
19395
|
def plus_with_duration(other); end
|
|
19241
19396
|
|
|
19397
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#304
|
|
19398
|
+
def plus_without_duration(_arg0); end
|
|
19399
|
+
|
|
19242
19400
|
# @return [Boolean]
|
|
19243
19401
|
#
|
|
19244
19402
|
# source://activesupport//lib/active_support/core_ext/object/blank.rb#196
|
|
@@ -19259,6 +19417,11 @@ class Time
|
|
|
19259
19417
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#378
|
|
19260
19418
|
def prev_year(years = T.unsafe(nil)); end
|
|
19261
19419
|
|
|
19420
|
+
# Aliased to +xmlschema+ for compatibility with +DateTime+
|
|
19421
|
+
#
|
|
19422
|
+
# source://activesupport//lib/active_support/core_ext/time/conversions.rb#74
|
|
19423
|
+
def rfc3339(*_arg0); end
|
|
19424
|
+
|
|
19262
19425
|
# Returns the fraction of a second as a +Rational+
|
|
19263
19426
|
#
|
|
19264
19427
|
# Time.new(2012, 8, 29, 0, 0, 0.5).sec_fraction # => (1/2)
|
|
@@ -19316,7 +19479,7 @@ class Time
|
|
|
19316
19479
|
# Time::DATE_FORMATS[:month_and_year] = '%B %Y'
|
|
19317
19480
|
# Time::DATE_FORMATS[:short_ordinal] = ->(time) { time.strftime("%B #{time.day.ordinalize}") }
|
|
19318
19481
|
#
|
|
19319
|
-
# source://activesupport//lib/active_support/core_ext/time/conversions.rb#
|
|
19482
|
+
# source://activesupport//lib/active_support/core_ext/time/conversions.rb#62
|
|
19320
19483
|
def to_formatted_s(format = T.unsafe(nil)); end
|
|
19321
19484
|
|
|
19322
19485
|
# Converts to a formatted string. See DATE_FORMATS for built-in formats.
|
|
@@ -19358,7 +19521,7 @@ class Time
|
|
|
19358
19521
|
# Layers additional behavior on Time.at so that ActiveSupport::TimeWithZone and DateTime
|
|
19359
19522
|
# instances can be used when called with a single argument
|
|
19360
19523
|
#
|
|
19361
|
-
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#
|
|
19524
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#60
|
|
19362
19525
|
def at(time_or_number, *args, **_arg2); end
|
|
19363
19526
|
|
|
19364
19527
|
# Layers additional behavior on Time.at so that ActiveSupport::TimeWithZone and DateTime
|
|
@@ -19367,6 +19530,9 @@ class Time
|
|
|
19367
19530
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#45
|
|
19368
19531
|
def at_with_coercion(time_or_number, *args, **_arg2); end
|
|
19369
19532
|
|
|
19533
|
+
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#59
|
|
19534
|
+
def at_without_coercion(time, subsec = T.unsafe(nil), unit = T.unsafe(nil), in: T.unsafe(nil)); end
|
|
19535
|
+
|
|
19370
19536
|
# Returns <tt>Time.zone.now</tt> when <tt>Time.zone</tt> or <tt>config.time_zone</tt> are set, otherwise just returns <tt>Time.now</tt>.
|
|
19371
19537
|
#
|
|
19372
19538
|
# source://activesupport//lib/active_support/core_ext/time/calculations.rb#39
|