writer

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RubyConfig = generator.Config{"  ", 2, nil}

Functions

This section is empty.

Types

type Writer

type Writer struct {
	generator.Writer
	// contains filtered or unexported fields
}

func New

func New(filename string) *Writer

func (*Writer) Indented

func (w *Writer) Indented() *Writer

func (*Writer) IndentedWith

func (w *Writer) IndentedWith(size int) *Writer

func (*Writer) ToCodeFile

func (w *Writer) ToCodeFile() *generator.CodeFile

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL