data Bezel::Templates::Source

A template: its path (named in errors and in the generated file's header), the name of the method it becomes, and its text.

src/templates.qz:79

Methods

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

src/templates.qz:79

def with(*, path: String = …, name: String = …, text: String = …) -> Bezel::Templates::Source

A copy with the fields given replaced.

src/templates.qz:79

def path -> String

src/templates.qz:79

def name -> String

src/templates.qz:79

def text -> String

src/templates.qz:79