Sha256: dc0b512da0298128a4452de484839e2cdfddb6fdc69449bb2b9959ecd26a1cff
Contents?: true
Size: 842 Bytes
Versions: 4
Compression:
Stored size: 842 Bytes
Contents
module Rtml::WidgetCore::WidgetAccessorInstanceMethods def widget_instances @widget_instances ||= [] end delegate :class_widget_proxies, :class_widget_entry_points, :to => 'self.class' def singleton_widgets; (class << self; self; end).class_widgets end def singleton_widget_proxies; (class << self; self; end).class_widget_proxies end def singleton_widget_entry_points; (class << self; self; end).class_widget_entry_points end def widgets; singleton_widgets + class_widgets end def widget_proxies; singleton_widget_proxies + class_widget_proxies end def widget_entry_points; singleton_widget_entry_points + class_widget_entry_points end alias class_widget_methods class_widget_entry_points alias singleton_widget_methods singleton_widget_entry_points alias widget_methods widget_entry_points end
Version data entries
4 entries across 4 versions & 1 rubygems