struct

Tryst::WidgetInfo

Inherits Struct < Value < Object

App#widgets' value shape - ruby-tryst uses a bare {class:, parent:} Hash; a real struct here instead since class is a reserved word in Crystal (can't be a NamedTuple/method key), so the field is class_name. Accessed as widgets[path].class_name, not widgets[path][:class].

Constructors

new(class_name : String, parent : String)
Source

Instance methods

class_name
clone
Source
copy_with(class_name _class_name = @class_name, parent _parent = @parent)
Source
parent