Module: OpenHAB::Core::Sitemaps::Widget
- Included in:
- LinkableWidget
- Defined in:
- lib/openhab/core/sitemaps/widget.rb
Overview
Instance Attribute Summary collapse
- #icon ⇒ String? readonly
- #item ⇒ String? readonly
- #label ⇒ String? readonly
- #widget_type ⇒ String readonly
Instance Method Summary collapse
- #to_s ⇒ String (also: #inspect)
Instance Attribute Details
#icon ⇒ String? (readonly)
|
|
# File 'lib/openhab/core/sitemaps/widget.rb', line 17
|
#item ⇒ String? (readonly)
|
|
# File 'lib/openhab/core/sitemaps/widget.rb', line 11
|
#label ⇒ String? (readonly)
|
|
# File 'lib/openhab/core/sitemaps/widget.rb', line 14
|
#widget_type ⇒ String (readonly)
|
|
# File 'lib/openhab/core/sitemaps/widget.rb', line 20
|
Instance Method Details
#to_s ⇒ String Also known as: inspect
24 25 26 27 28 29 30 |
# File 'lib/openhab/core/sitemaps/widget.rb', line 24 def to_s r = "#<OpenHAB::Core::Sitemaps::#{widget_type}" r += " #{label.inspect}" if label r += " item=#{item}" if item r += inspect_details.to_s "#{r}>" end |