Sha256: 5e340d943d740404488cd0bc858aca0aaeb0789d693673963503b7bbe425e4e5
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
module ExpressTemplates module Components module Capabilities module Adoptable # Adoptable adds the capability for a child to refer # to its parent. This is used by more complex # components which are intended to work together # such as form components where form elements may need # to use information known only to the parent. def self.included(base) base.class_eval do attr_accessor :parent end end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems