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.
Methods
def to_h -> Hash[Symbol, Object]
The fields as a Hash, by name.
def with(*, path: String = …, name: String = …, text: String = …) -> Bezel::Templates::Source
A copy with the fields given replaced.