module Dill
This file describes the organization of the major Widget
API components.
Parts¶ ↑
Widget
parts encapsulate the set of behaviours that constitute a widget.
Constants
- VERSION
Public Instance Methods
deprecate(method, alternate_method, once=false)
click to toggle source
# File lib/dill.rb, line 25 def deprecate(method, alternate_method, once=false) @deprecation_notified ||= {} warn "DEPRECATED: ##{method} is deprecated, please use ##{alternate_method} instead" unless once and @deprecation_notified[method] @deprecation_notified[method] = true end