Update RBI files for erubi.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
		
							parent
							
								
									78fa0b5faa
								
							
						
					
					
						commit
						89e39527de
					
				@ -4,15 +4,19 @@
 | 
			
		||||
# This is an autogenerated file for types exported from the `erubi` gem.
 | 
			
		||||
# Please instead update this file by running `bin/tapioca gem erubi`.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# source://erubi//lib/erubi.rb#3
 | 
			
		||||
module Erubi
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  def h(_arg0); end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    # source://erubi//lib/erubi.rb#35
 | 
			
		||||
    def h(value); end
 | 
			
		||||
    def h(_arg0); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
# source://erubi//lib/erubi.rb#54
 | 
			
		||||
# source://erubi//lib/erubi.rb#51
 | 
			
		||||
class Erubi::Engine
 | 
			
		||||
  # Initialize a new Erubi::Engine.  Options:
 | 
			
		||||
  # +:bufval+ :: The value to use for the buffer variable, as a string (default <tt>'::String.new'</tt>).
 | 
			
		||||
@ -43,64 +47,64 @@ class Erubi::Engine
 | 
			
		||||
  #
 | 
			
		||||
  # @return [Engine] a new instance of Engine
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#94
 | 
			
		||||
  # source://erubi//lib/erubi.rb#91
 | 
			
		||||
  def initialize(input, properties = T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  # The variable name used for the buffer variable.
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#65
 | 
			
		||||
  # source://erubi//lib/erubi.rb#62
 | 
			
		||||
  def bufvar; end
 | 
			
		||||
 | 
			
		||||
  # The filename of the template, if one was given.
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#62
 | 
			
		||||
  # source://erubi//lib/erubi.rb#59
 | 
			
		||||
  def filename; end
 | 
			
		||||
 | 
			
		||||
  # The frozen ruby source code generated from the template, which can be evaled.
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#59
 | 
			
		||||
  # source://erubi//lib/erubi.rb#56
 | 
			
		||||
  def src; end
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  # Add ruby code to the template
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#226
 | 
			
		||||
  # source://erubi//lib/erubi.rb#223
 | 
			
		||||
  def add_code(code); end
 | 
			
		||||
 | 
			
		||||
  # Add the given ruby expression result to the template,
 | 
			
		||||
  # escaping it based on the indicator given and escape flag.
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#235
 | 
			
		||||
  # source://erubi//lib/erubi.rb#232
 | 
			
		||||
  def add_expression(indicator, code); end
 | 
			
		||||
 | 
			
		||||
  # Add the result of Ruby expression to the template
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#244
 | 
			
		||||
  # source://erubi//lib/erubi.rb#241
 | 
			
		||||
  def add_expression_result(code); end
 | 
			
		||||
 | 
			
		||||
  # Add the escaped result of Ruby expression to the template
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#249
 | 
			
		||||
  # source://erubi//lib/erubi.rb#246
 | 
			
		||||
  def add_expression_result_escaped(code); end
 | 
			
		||||
 | 
			
		||||
  # Add the given postamble to the src.  Can be overridden in subclasses
 | 
			
		||||
  # to make additional changes to src that depend on the current state.
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#255
 | 
			
		||||
  # source://erubi//lib/erubi.rb#252
 | 
			
		||||
  def add_postamble(postamble); end
 | 
			
		||||
 | 
			
		||||
  # Add raw text to the template.  Modifies argument if argument is mutable as a memory optimization.
 | 
			
		||||
  # Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#213
 | 
			
		||||
  # source://erubi//lib/erubi.rb#210
 | 
			
		||||
  def add_text(text); end
 | 
			
		||||
 | 
			
		||||
  # Raise an exception, as the base engine class does not support handling other indicators.
 | 
			
		||||
  #
 | 
			
		||||
  # @raise [ArgumentError]
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#261
 | 
			
		||||
  # source://erubi//lib/erubi.rb#258
 | 
			
		||||
  def handle(indicator, code, tailch, rspace, lspace); end
 | 
			
		||||
 | 
			
		||||
  # Make sure that any current expression has been terminated.
 | 
			
		||||
@ -108,7 +112,7 @@ class Erubi::Engine
 | 
			
		||||
  # the chain_appends option is used, expressions may not be
 | 
			
		||||
  # terminated.
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#289
 | 
			
		||||
  # source://erubi//lib/erubi.rb#286
 | 
			
		||||
  def terminate_expression; end
 | 
			
		||||
 | 
			
		||||
  # Make sure the buffer variable is the target of the next append
 | 
			
		||||
@ -118,13 +122,13 @@ class Erubi::Engine
 | 
			
		||||
  # This method should only be called if the block will result in
 | 
			
		||||
  # code where << will append to the bufvar.
 | 
			
		||||
  #
 | 
			
		||||
  # source://erubi//lib/erubi.rb#271
 | 
			
		||||
  # source://erubi//lib/erubi.rb#268
 | 
			
		||||
  def with_buffer; end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
# The default regular expression used for scanning.
 | 
			
		||||
#
 | 
			
		||||
# source://erubi//lib/erubi.rb#56
 | 
			
		||||
# source://erubi//lib/erubi.rb#53
 | 
			
		||||
Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp)
 | 
			
		||||
 | 
			
		||||
# source://erubi//lib/erubi.rb#17
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user