Module: QML::Access
- Extended by:
- ClassMethods
- Includes:
- Reactive
- Included in:
- ListModelAccess, ProcAccess
- Defined in:
- lib/qml/access.rb
Overview
Access enables classes to be exposed to QML.
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- ALLOWED_PATTERN =
allowed name patterns for exposed method names
/^[a-zA-Z_]\w*$/
Instance Method Summary collapse
Methods included from ClassMethods
meta_object, register_to_qml, register_to_qml_impl
Methods included from Reactive
Methods included from Reactive::ClassMethods
#properties, #property_infos, #signal_infos, #signals
Instance Method Details
#to_qml ⇒ Object
25 26 27 |
# File 'lib/qml/access.rb', line 25 def to_qml @qml_value ||= self.class..wrap(self) end |