lib/parlour/rbs_generator/interface_namespace.rb
# Generates the RBS lines for this interface.
#
# @param indent_level [Integer] The indentation level to generate the lines at.
# @param options [Options] The formatting options to use.
# @return [Array<String>] The RBS lines, formatted as specified.
Generates the RBS lines for this interface.
Generates the RBS lines for this interface .
def generate_rbs(indent_level, options)        
        lines = generate_comments(indent_level, options)
        lines << options.indented(indent_level, "interface #{name}")
        lines += generate_body(indent_level + 1, options)
        lines << options.indented(indent_level, "end")
      end
def generate_rbs ( indent_level , options ) lines = generate_comments ( indent_level , options ) lines << options . indented ( indent_level , "interface #{name}" ) lines += generate_body ( indent_level + 1 , options ) lines << options . indented ( indent_level , "end" ) end
Generates the RBS lines for this interface.
Generates the RBS lines for this interface .
The RBS lines, formatted as specified.
The RBS lines formatted as specified .
Array<String>
indent_level
The indentation level to generate the lines at.
The indentation level to generate the lines at .
options
The formatting options to use.
The formatting options to use .