Sha256: fdab1ccd00a215032c562154bb3cde30d6f3ae9ac327852627a151298d3e04db
Contents?: true
Size: 478 Bytes
Versions: 73
Compression:
Stored size: 478 Bytes
Contents
module Coco module Concerns module Extendable extend ActiveSupport::Concern class_methods do def inherited(subclass) subclass.instance_variable_set(:@_options, @_options.clone) subclass.instance_variable_set(:@_callbacks, @_callbacks.clone) subclass.instance_variable_set(:@_tag_name, @_tag_name) subclass.instance_variable_set(:@_tag_attr_names, @_tag_attr_names.clone) end end end end end
Version data entries
73 entries across 73 versions & 1 rubygems