lib/parlour/rbs_generator/type_alias.rb
# Generates the RBS lines for this type alias.
#
# @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 type alias.
Generates the RBS lines for this type alias .
def generate_rbs(indent_level, options)
        [options.indented(indent_level,
          "type #{name} = #{String === @type ? @type : @type.generate_rbs}"
        )]
      end
def generate_rbs ( indent_level , options ) [ options . indented ( indent_level , "type #{name} = #{String === @type ? @type : @type.generate_rbs}" ) ] end
Generates the RBS lines for this type alias.
Generates the RBS lines for this type alias .
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 .