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.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/.claude/commands/docs/write-comments.md +1 -1
  3. data/.rubocop.yml +12 -1
  4. data/Gemfile +2 -2
  5. data/Gemfile.lock +149 -34
  6. data/README.md +56 -3
  7. data/examples/agent_with_multiple_prompts.rb +27 -0
  8. data/examples/custom_logging.rb +4 -2
  9. data/examples/demo/Gemfile.lock +49 -15
  10. data/examples/plugin-gem-example/Gemfile.lock +19 -15
  11. data/examples/simple_chat.rb +1 -1
  12. data/examples/simple_pi_agent.rb +18 -0
  13. data/internal/rubocop/cop/roast/no_test_class_nesting.rb +126 -0
  14. data/internal/rubocop/rubocop-roast.yml +6 -0
  15. data/internal/workflows/maintenance/branch_docs_impact.rb +97 -0
  16. data/internal/workflows/maintenance/deprecated_models_docs_updater.rb +78 -0
  17. data/lib/roast/cog/config.rb +1 -1
  18. data/lib/roast/cog/output.rb +2 -1
  19. data/lib/roast/cog/registry.rb +3 -3
  20. data/lib/roast/cog_input_manager.rb +28 -7
  21. data/lib/roast/cogs/agent/config.rb +2 -2
  22. data/lib/roast/cogs/agent/input.rb +20 -22
  23. data/lib/roast/cogs/agent/providers/claude/claude_invocation.rb +13 -5
  24. data/lib/roast/cogs/agent/providers/claude/messages/result_message.rb +1 -1
  25. data/lib/roast/cogs/agent/providers/claude/tool_result.rb +344 -4
  26. data/lib/roast/cogs/agent/providers/claude/tool_use.rb +356 -1
  27. data/lib/roast/cogs/agent/providers/claude.rb +16 -3
  28. data/lib/roast/cogs/agent/providers/pi/messages/tool_call_message.rb +60 -0
  29. data/lib/roast/cogs/agent/providers/pi/messages/tool_result_message.rb +57 -0
  30. data/lib/roast/cogs/agent/providers/pi/pi_invocation.rb +352 -0
  31. data/lib/roast/cogs/agent/providers/pi.rb +41 -0
  32. data/lib/roast/cogs/agent/stats.rb +29 -0
  33. data/lib/roast/cogs/agent/usage.rb +22 -0
  34. data/lib/roast/cogs/agent.rb +5 -6
  35. data/lib/roast/cogs/chat/config.rb +28 -2
  36. data/lib/roast/cogs/chat.rb +82 -10
  37. data/lib/roast/event.rb +1 -0
  38. data/lib/roast/event_monitor.rb +35 -3
  39. data/lib/roast/log.rb +21 -0
  40. data/lib/roast/log_formatter.rb +9 -7
  41. data/lib/roast/version.rb +1 -1
  42. data/lib/roast.rb +1 -3
  43. data/roast-ai.gemspec +2 -1
  44. data/sorbet/rbi/gems/activesupport@8.0.2.rbi +549 -383
  45. data/sorbet/rbi/gems/addressable@2.8.7.rbi +46 -44
  46. data/sorbet/rbi/gems/ast@2.4.3.rbi +7 -6
  47. data/sorbet/rbi/gems/async@2.34.0.rbi +21 -3
  48. data/sorbet/rbi/gems/benchmark@0.4.1.rbi +7 -7
  49. data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +198 -1
  50. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +405 -328
  51. data/sorbet/rbi/gems/console@1.34.2.rbi +2 -2
  52. data/sorbet/rbi/gems/docile@1.4.1.rbi +30 -30
  53. data/sorbet/rbi/gems/drb@2.2.3.rbi +25 -25
  54. data/sorbet/rbi/gems/erubi@1.13.1.rbi +2 -0
  55. data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +2 -77
  56. data/sorbet/rbi/gems/faraday-retry@2.3.2.rbi +2 -57
  57. data/sorbet/rbi/gems/faraday@2.14.1.rbi +382 -75
  58. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +1 -110
  59. data/sorbet/rbi/gems/guard-minitest@2.4.6.rbi +0 -139
  60. data/sorbet/rbi/gems/guard@2.19.1.rbi +38 -38
  61. data/sorbet/rbi/gems/hashdiff@1.2.0.rbi +3 -3
  62. data/sorbet/rbi/gems/i18n@1.14.7.rbi +53 -29
  63. data/sorbet/rbi/gems/io-event@1.14.0.rbi +67 -10
  64. data/sorbet/rbi/gems/json@2.18.1.rbi +227 -5
  65. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +83 -0
  66. data/sorbet/rbi/gems/listen@3.9.0.rbi +7 -7
  67. data/sorbet/rbi/gems/logger@1.7.0.rbi +3 -3
  68. data/sorbet/rbi/gems/lumberjack@1.2.10.rbi +21 -21
  69. data/sorbet/rbi/gems/marcel@1.1.0.rbi +1 -1
  70. data/sorbet/rbi/gems/minitest-rg@5.3.0.rbi +0 -96
  71. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1 -16
  72. data/sorbet/rbi/gems/net-http@0.9.1.rbi +27 -19
  73. data/sorbet/rbi/gems/netrc@0.11.0.rbi +18 -0
  74. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +20 -20
  75. data/sorbet/rbi/gems/ostruct@0.6.2.rbi +149 -15
  76. data/sorbet/rbi/gems/parser@3.3.8.0.rbi +141 -139
  77. data/sorbet/rbi/gems/prism@1.4.0.rbi +922 -864
  78. data/sorbet/rbi/gems/public_suffix@6.0.2.rbi +56 -35
  79. data/sorbet/rbi/gems/racc@1.8.1.rbi +10 -2
  80. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +12 -12
  81. data/sorbet/rbi/gems/rake@13.3.0.rbi +219 -318
  82. data/sorbet/rbi/gems/{rbi@0.3.6.rbi → rbi@0.3.9.rbi} +612 -2267
  83. data/sorbet/rbi/gems/{rbs@3.9.4.rbi → rbs@4.0.0.dev.5.rbi} +2013 -680
  84. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +151 -113
  85. data/sorbet/rbi/gems/require-hooks@0.2.3.rbi +110 -0
  86. data/sorbet/rbi/gems/rexml@3.4.2.rbi +24 -51
  87. data/sorbet/rbi/gems/rubocop-ast@1.45.1.rbi +506 -815
  88. data/sorbet/rbi/gems/rubocop-sorbet@0.10.5.rbi +16 -16
  89. data/sorbet/rbi/gems/rubocop@1.77.0.rbi +2692 -2327
  90. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -8
  91. data/sorbet/rbi/gems/ruby_llm@1.8.2.rbi +38 -23
  92. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +1 -1
  93. data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +2 -131
  94. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +28 -127
  95. data/sorbet/rbi/gems/{spoom@1.6.3.rbi → spoom@1.7.11.rbi} +1139 -2246
  96. data/sorbet/rbi/gems/sqlite3@2.9.0.rbi +91 -1
  97. data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.10.rbi} +721 -835
  98. data/sorbet/rbi/gems/thor@1.4.0.rbi +53 -53
  99. data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
  100. data/sorbet/rbi/gems/type_toolkit@0.0.5.rbi +49 -0
  101. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +144 -143
  102. data/sorbet/rbi/gems/uri@1.1.1.rbi +7 -7
  103. data/sorbet/rbi/gems/vcr@6.3.1.rbi +53 -36
  104. data/sorbet/rbi/gems/webmock@3.25.1.rbi +38 -13
  105. data/sorbet/rbi/gems/zeitwerk@2.7.3.rbi +39 -272
  106. data/sorbet/rbi/shims/lib/roast/execution_context.rbi +3 -3
  107. data/tutorial/01_your_first_workflow/README.md +9 -5
  108. data/tutorial/01_your_first_workflow/configured_chat.rb +1 -1
  109. data/tutorial/02_chaining_cogs/README.md +2 -2
  110. data/tutorial/02_chaining_cogs/code_review.rb +1 -1
  111. data/tutorial/02_chaining_cogs/session_resumption.rb +1 -1
  112. data/tutorial/03_targets_and_params/README.md +1 -1
  113. data/tutorial/04_configuration_options/README.md +2 -2
  114. data/tutorial/08_iterative_workflows/README.md +1 -1
  115. data/tutorial/README.md +1 -1
  116. metadata +39 -17
  117. data/docs/AGENT_STEPS.md +0 -288
  118. data/docs/INSTRUMENTATION.md +0 -243
  119. data/docs/ITERATION_SYNTAX.md +0 -147
  120. data/docs/VALIDATION.md +0 -178
  121. data/lib/roast/nil_assertions.rb +0 -23
  122. /data/internal/documentation/{architectural-notes.md → comments/architectural-notes.md} +0 -0
  123. /data/internal/documentation/{doc-comments-external.md → comments/doc-comments-external.md} +0 -0
  124. /data/internal/documentation/{doc-comments-internal.md → comments/doc-comments-internal.md} +0 -0
  125. /data/internal/documentation/{doc-comments.md → comments/doc-comments.md} +0 -0
@@ -26,9 +26,9 @@ module PublicSuffix
26
26
  #
27
27
  # This method doesn't raise. Instead, it returns nil if the domain is not valid for whatever reason.
28
28
  #
29
- # @param name [#to_s] The domain name or fully qualified domain name to parse.
30
- # @param list [PublicSuffix::List] The rule list to search, defaults to the default {PublicSuffix::List}
31
29
  # @param ignore_private [Boolean]
30
+ # @param list [PublicSuffix::List] The rule list to search, defaults to the default {PublicSuffix::List}
31
+ # @param name [#to_s] The domain name or fully qualified domain name to parse.
32
32
  # @return [String]
33
33
  #
34
34
  # source://public_suffix//lib/public_suffix.rb#140
@@ -41,30 +41,30 @@ module PublicSuffix
41
41
 
42
42
  # Parses +name+ and returns the {PublicSuffix::Domain} instance.
43
43
  #
44
- # @example Parse a valid domain
45
- # PublicSuffix.parse("google.com")
46
- # # => #<PublicSuffix::Domain:0x007fec2e51e588 @sld="google", @tld="com", @trd=nil>
47
- # @example Parse a valid subdomain
48
- # PublicSuffix.parse("www.google.com")
49
- # # => #<PublicSuffix::Domain:0x007fec276d4cf8 @sld="google", @tld="com", @trd="www">
50
44
  # @example Parse a fully qualified domain
51
45
  # PublicSuffix.parse("google.com.")
52
46
  # # => #<PublicSuffix::Domain:0x007fec257caf38 @sld="google", @tld="com", @trd=nil>
53
47
  # @example Parse a fully qualified domain (subdomain)
54
48
  # PublicSuffix.parse("www.google.com.")
55
49
  # # => #<PublicSuffix::Domain:0x007fec27b6bca8 @sld="google", @tld="com", @trd="www">
50
+ # @example Parse a valid domain
51
+ # PublicSuffix.parse("google.com")
52
+ # # => #<PublicSuffix::Domain:0x007fec2e51e588 @sld="google", @tld="com", @trd=nil>
53
+ # @example Parse a valid subdomain
54
+ # PublicSuffix.parse("www.google.com")
55
+ # # => #<PublicSuffix::Domain:0x007fec276d4cf8 @sld="google", @tld="com", @trd="www">
56
+ # @example Parse an URL (not supported, only domains)
57
+ # PublicSuffix.parse("http://www.google.com")
58
+ # # => PublicSuffix::DomainInvalid: http://www.google.com is not expected to contain a scheme
56
59
  # @example Parse an invalid (unlisted) domain
57
60
  # PublicSuffix.parse("x.yz")
58
61
  # # => #<PublicSuffix::Domain:0x007fec2f49bec0 @sld="x", @tld="yz", @trd=nil>
59
62
  # @example Parse an invalid (unlisted) domain with strict checking (without applying the default * rule)
60
63
  # PublicSuffix.parse("x.yz", default_rule: nil)
61
64
  # # => PublicSuffix::DomainInvalid: `x.yz` is not a valid domain
62
- # @example Parse an URL (not supported, only domains)
63
- # PublicSuffix.parse("http://www.google.com")
64
- # # => PublicSuffix::DomainInvalid: http://www.google.com is not expected to contain a scheme
65
- # @param name [#to_s] The domain name or fully qualified domain name to parse.
66
- # @param list [PublicSuffix::List] The rule list to search, defaults to the default {PublicSuffix::List}
67
65
  # @param ignore_private [Boolean]
66
+ # @param list [PublicSuffix::List] The rule list to search, defaults to the default {PublicSuffix::List}
67
+ # @param name [#to_s] The domain name or fully qualified domain name to parse.
68
68
  # @raise [PublicSuffix::DomainInvalid] If domain is not a valid domain.
69
69
  # @raise [PublicSuffix::DomainNotAllowed] If a rule for +domain+ is found, but the rule doesn't allow +domain+.
70
70
  # @return [PublicSuffix::Domain]
@@ -77,11 +77,13 @@ module PublicSuffix
77
77
  # This method doesn't care whether domain is a domain or subdomain.
78
78
  # The validation is performed using the default {PublicSuffix::List}.
79
79
  #
80
- # @example Validate a valid domain
81
- # PublicSuffix.valid?("example.com")
80
+ # @example Check an URL (which is not a valid domain)
81
+ # PublicSuffix.valid?("http://www.example.com")
82
+ # # => false
83
+ # @example Validate a fully qualified domain
84
+ # PublicSuffix.valid?("google.com.")
82
85
  # # => true
83
- # @example Validate a valid subdomain
84
- # PublicSuffix.valid?("www.example.com")
86
+ # PublicSuffix.valid?("www.google.com.")
85
87
  # # => true
86
88
  # @example Validate a not-listed domain
87
89
  # PublicSuffix.valid?("example.tldnotlisted")
@@ -91,16 +93,14 @@ module PublicSuffix
91
93
  # # => true
92
94
  # PublicSuffix.valid?("example.tldnotlisted", default_rule: nil)
93
95
  # # => false
94
- # @example Validate a fully qualified domain
95
- # PublicSuffix.valid?("google.com.")
96
+ # @example Validate a valid domain
97
+ # PublicSuffix.valid?("example.com")
96
98
  # # => true
97
- # PublicSuffix.valid?("www.google.com.")
99
+ # @example Validate a valid subdomain
100
+ # PublicSuffix.valid?("www.example.com")
98
101
  # # => true
99
- # @example Check an URL (which is not a valid domain)
100
- # PublicSuffix.valid?("http://www.example.com")
101
- # # => false
102
- # @param name [#to_s] The domain name or fully qualified domain name to validate.
103
102
  # @param ignore_private [Boolean]
103
+ # @param name [#to_s] The domain name or fully qualified domain name to validate.
104
104
  # @return [Boolean]
105
105
  #
106
106
  # source://public_suffix//lib/public_suffix.rb#123
@@ -120,12 +120,12 @@ PublicSuffix::DOT = T.let(T.unsafe(nil), String)
120
120
  class PublicSuffix::Domain
121
121
  # Creates and returns a new {PublicSuffix::Domain} instance.
122
122
  #
123
- # @example Initialize with a TLD and SLD
124
- # PublicSuffix::Domain.new("com", "example")
125
- # # => #<PublicSuffix::Domain @tld="com", @trd=nil>
126
123
  # @example Initialize with a TLD
127
124
  # PublicSuffix::Domain.new("com")
128
125
  # # => #<PublicSuffix::Domain @tld="com">
126
+ # @example Initialize with a TLD and SLD
127
+ # PublicSuffix::Domain.new("com", "example")
128
+ # # => #<PublicSuffix::Domain @tld="com", @trd=nil>
129
129
  # @example Initialize with a TLD, SLD and TRD
130
130
  # PublicSuffix::Domain.new("com", "example", "wwww")
131
131
  # # => #<PublicSuffix::Domain @tld="com", @trd=nil, @sld="example">
@@ -240,8 +240,8 @@ class PublicSuffix::Domain
240
240
  # # => "www"
241
241
  #
242
242
  # @return [String]
243
- # @see #subdomain?
244
243
  # @see #domain
244
+ # @see #subdomain?
245
245
  #
246
246
  # source://public_suffix//lib/public_suffix/domain.rb#169
247
247
  def subdomain; end
@@ -401,7 +401,7 @@ class PublicSuffix::List
401
401
  # @param rule [PublicSuffix::Rule::*] the rule to add to the list
402
402
  # @return [self]
403
403
  #
404
- # source://public_suffix//lib/public_suffix/list.rb#141
404
+ # source://public_suffix//lib/public_suffix/list.rb#145
405
405
  def <<(rule); end
406
406
 
407
407
  # Checks whether two lists are equal.
@@ -460,13 +460,13 @@ class PublicSuffix::List
460
460
  # @param other [PublicSuffix::List] the List to compare
461
461
  # @return [Boolean]
462
462
  #
463
- # source://public_suffix//lib/public_suffix/list.rb#120
463
+ # source://public_suffix//lib/public_suffix/list.rb#125
464
464
  def eql?(other); end
465
465
 
466
466
  # Finds and returns the rule corresponding to the longest public suffix for the hostname.
467
467
  #
468
- # @param name [#to_s] the hostname
469
468
  # @param default [PublicSuffix::Rule::*] the default rule to return in case no rule matches
469
+ # @param name [#to_s] the hostname
470
470
  # @return [PublicSuffix::Rule::*]
471
471
  #
472
472
  # source://public_suffix//lib/public_suffix/list.rb#174
@@ -507,8 +507,8 @@ class PublicSuffix::List
507
507
  # matching rules, but different data structures may not be able to do it, and instead would
508
508
  # return only the match. For this reason, you should rely on {#find}.
509
509
  #
510
- # @param name [#to_s] the hostname
511
510
  # @param ignore_private [Boolean]
511
+ # @param name [#to_s] the hostname
512
512
  # @return [Array<PublicSuffix::Rule::*>]
513
513
  #
514
514
  # source://public_suffix//lib/public_suffix/list.rb#199
@@ -674,8 +674,8 @@ end
674
674
  class PublicSuffix::Rule::Base
675
675
  # Initializes a new rule.
676
676
  #
677
- # @param value [String]
678
677
  # @param private [Boolean]
678
+ # @param value [String]
679
679
  # @return [Base] a new instance of Base
680
680
  #
681
681
  # source://public_suffix//lib/public_suffix/rule.rb#126
@@ -704,7 +704,7 @@ class PublicSuffix::Rule::Base
704
704
  # @return [Boolean] true if this rule and other are instances of the same class
705
705
  # and has the same value, false otherwise.
706
706
  #
707
- # source://public_suffix//lib/public_suffix/rule.rb#137
707
+ # source://public_suffix//lib/public_suffix/rule.rb#140
708
708
  def eql?(other); end
709
709
 
710
710
  # @return [String] the length of the rule
@@ -769,41 +769,62 @@ class PublicSuffix::Rule::Entry < ::Struct
769
769
  # Returns the value of attribute length
770
770
  #
771
771
  # @return [Object] the current value of length
772
+ #
773
+ # source://public_suffix//lib/public_suffix/rule.rb#25
772
774
  def length; end
773
775
 
774
776
  # Sets the attribute length
775
777
  #
776
778
  # @param value [Object] the value to set the attribute length to.
777
779
  # @return [Object] the newly set value
780
+ #
781
+ # source://public_suffix//lib/public_suffix/rule.rb#25
778
782
  def length=(_); end
779
783
 
780
784
  # Returns the value of attribute private
781
785
  #
782
786
  # @return [Object] the current value of private
787
+ #
788
+ # source://public_suffix//lib/public_suffix/rule.rb#25
783
789
  def private; end
784
790
 
785
791
  # Sets the attribute private
786
792
  #
787
793
  # @param value [Object] the value to set the attribute private to.
788
794
  # @return [Object] the newly set value
795
+ #
796
+ # source://public_suffix//lib/public_suffix/rule.rb#25
789
797
  def private=(_); end
790
798
 
791
799
  # Returns the value of attribute type
792
800
  #
793
801
  # @return [Object] the current value of type
802
+ #
803
+ # source://public_suffix//lib/public_suffix/rule.rb#25
794
804
  def type; end
795
805
 
796
806
  # Sets the attribute type
797
807
  #
798
808
  # @param value [Object] the value to set the attribute type to.
799
809
  # @return [Object] the newly set value
810
+ #
811
+ # source://public_suffix//lib/public_suffix/rule.rb#25
800
812
  def type=(_); end
801
813
 
802
814
  class << self
815
+ # source://public_suffix//lib/public_suffix/rule.rb#25
803
816
  def [](*_arg0); end
817
+
818
+ # source://public_suffix//lib/public_suffix/rule.rb#25
804
819
  def inspect; end
820
+
821
+ # source://public_suffix//lib/public_suffix/rule.rb#25
805
822
  def keyword_init?; end
823
+
824
+ # source://public_suffix//lib/public_suffix/rule.rb#25
806
825
  def members; end
826
+
827
+ # source://public_suffix//lib/public_suffix/rule.rb#25
807
828
  def new(*_arg0); end
808
829
  end
809
830
  end
@@ -885,9 +906,9 @@ end
885
906
  class PublicSuffix::Rule::Wildcard < ::PublicSuffix::Rule::Base
886
907
  # Initializes a new rule.
887
908
  #
888
- # @param value [String]
889
909
  # @param length [Integer]
890
910
  # @param private [Boolean]
911
+ # @param value [String]
891
912
  # @return [Wildcard] a new instance of Wildcard
892
913
  #
893
914
  # source://public_suffix//lib/public_suffix/rule.rb#232
@@ -35,7 +35,7 @@ class Racc::Parser
35
35
  # source://racc//lib/racc/parser.rb#329
36
36
  def _racc_yyparse_rb(recv, mid, arg, c_debug); end
37
37
 
38
- # source://racc//lib/racc/parser.rb#262
38
+ # source://racc//lib/racc/parser.rb#261
39
39
  def do_parse; end
40
40
 
41
41
  # The method to fetch next token.
@@ -123,9 +123,17 @@ class Racc::Parser
123
123
  # source://racc//lib/racc/parser.rb#542
124
124
  def yyerror; end
125
125
 
126
- # source://racc//lib/racc/parser.rb#324
126
+ # source://racc//lib/racc/parser.rb#323
127
127
  def yyparse(recv, mid); end
128
128
 
129
+ private
130
+
131
+ # source://racc//lib/racc/parser.rb#195
132
+ def _racc_do_parse_c(_arg0, _arg1); end
133
+
134
+ # source://racc//lib/racc/parser.rb#195
135
+ def _racc_yyparse_c(_arg0, _arg1, _arg2, _arg3); end
136
+
129
137
  class << self
130
138
  # source://racc//lib/racc/parser.rb#216
131
139
  def racc_runtime_type; end
@@ -145,7 +145,7 @@ class Rainbow::NullPresenter < ::String
145
145
  # source://rainbow//lib/rainbow/null_presenter.rb#9
146
146
  def background(*_values); end
147
147
 
148
- # source://rainbow//lib/rainbow/null_presenter.rb#9
148
+ # source://rainbow//lib/rainbow/null_presenter.rb#95
149
149
  def bg(*_values); end
150
150
 
151
151
  # source://rainbow//lib/rainbow/null_presenter.rb#49
@@ -157,7 +157,7 @@ class Rainbow::NullPresenter < ::String
157
157
  # source://rainbow//lib/rainbow/null_presenter.rb#65
158
158
  def blue; end
159
159
 
160
- # source://rainbow//lib/rainbow/null_presenter.rb#17
160
+ # source://rainbow//lib/rainbow/null_presenter.rb#96
161
161
  def bold; end
162
162
 
163
163
  # source://rainbow//lib/rainbow/null_presenter.rb#17
@@ -172,16 +172,16 @@ class Rainbow::NullPresenter < ::String
172
172
  # source://rainbow//lib/rainbow/null_presenter.rb#73
173
173
  def cyan; end
174
174
 
175
- # source://rainbow//lib/rainbow/null_presenter.rb#21
175
+ # source://rainbow//lib/rainbow/null_presenter.rb#97
176
176
  def dark; end
177
177
 
178
178
  # source://rainbow//lib/rainbow/null_presenter.rb#21
179
179
  def faint; end
180
180
 
181
- # source://rainbow//lib/rainbow/null_presenter.rb#5
181
+ # source://rainbow//lib/rainbow/null_presenter.rb#94
182
182
  def fg(*_values); end
183
183
 
184
- # source://rainbow//lib/rainbow/null_presenter.rb#5
184
+ # source://rainbow//lib/rainbow/null_presenter.rb#93
185
185
  def foreground(*_values); end
186
186
 
187
187
  # source://rainbow//lib/rainbow/null_presenter.rb#57
@@ -208,7 +208,7 @@ class Rainbow::NullPresenter < ::String
208
208
  # source://rainbow//lib/rainbow/null_presenter.rb#13
209
209
  def reset; end
210
210
 
211
- # source://rainbow//lib/rainbow/null_presenter.rb#45
211
+ # source://rainbow//lib/rainbow/null_presenter.rb#98
212
212
  def strike; end
213
213
 
214
214
  # source://rainbow//lib/rainbow/null_presenter.rb#29
@@ -237,7 +237,7 @@ class Rainbow::Presenter < ::String
237
237
 
238
238
  # Sets background color of this text.
239
239
  #
240
- # source://rainbow//lib/rainbow/presenter.rb#30
240
+ # source://rainbow//lib/rainbow/presenter.rb#34
241
241
  def bg(*values); end
242
242
 
243
243
  # source://rainbow//lib/rainbow/presenter.rb#92
@@ -254,7 +254,7 @@ class Rainbow::Presenter < ::String
254
254
 
255
255
  # Turns on bright/bold for this text.
256
256
  #
257
- # source://rainbow//lib/rainbow/presenter.rb#45
257
+ # source://rainbow//lib/rainbow/presenter.rb#49
258
258
  def bold; end
259
259
 
260
260
  # Turns on bright/bold for this text.
@@ -276,7 +276,7 @@ class Rainbow::Presenter < ::String
276
276
  # Turns on faint/dark for this text (not well supported by terminal
277
277
  # emulators).
278
278
  #
279
- # source://rainbow//lib/rainbow/presenter.rb#53
279
+ # source://rainbow//lib/rainbow/presenter.rb#57
280
280
  def dark; end
281
281
 
282
282
  # Turns on faint/dark for this text (not well supported by terminal
@@ -287,12 +287,12 @@ class Rainbow::Presenter < ::String
287
287
 
288
288
  # Sets color of this text.
289
289
  #
290
- # source://rainbow//lib/rainbow/presenter.rb#22
290
+ # source://rainbow//lib/rainbow/presenter.rb#27
291
291
  def fg(*values); end
292
292
 
293
293
  # Sets color of this text.
294
294
  #
295
- # source://rainbow//lib/rainbow/presenter.rb#22
295
+ # source://rainbow//lib/rainbow/presenter.rb#26
296
296
  def foreground(*values); end
297
297
 
298
298
  # source://rainbow//lib/rainbow/presenter.rb#100
@@ -334,7 +334,7 @@ class Rainbow::Presenter < ::String
334
334
  # source://rainbow//lib/rainbow/presenter.rb#40
335
335
  def reset; end
336
336
 
337
- # source://rainbow//lib/rainbow/presenter.rb#86
337
+ # source://rainbow//lib/rainbow/presenter.rb#90
338
338
  def strike; end
339
339
 
340
340
  # Turns on underline decoration for this text.