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

Version Path
coveragebook_components-0.19.8 app/components/coco/concerns/extendable.rb
coveragebook_components-0.19.7 app/components/coco/concerns/extendable.rb
coveragebook_components-0.19.6 app/components/coco/concerns/extendable.rb
coveragebook_components-0.19.5 app/components/coco/concerns/extendable.rb
coveragebook_components-0.19.4 app/components/coco/concerns/extendable.rb
coveragebook_components-0.19.3 app/components/coco/concerns/extendable.rb
coveragebook_components-0.19.2 app/components/coco/concerns/extendable.rb
coveragebook_components-0.19.1 app/components/coco/concerns/extendable.rb
coveragebook_components-0.19.0 app/components/coco/concerns/extendable.rb
coveragebook_components-0.18.8 app/components/coco/concerns/extendable.rb
coveragebook_components-0.18.7 app/components/coco/concerns/extendable.rb
coveragebook_components-0.18.0 app/components/coco/concerns/extendable.rb
coveragebook_components-0.17.7 app/components/coco/concerns/extendable.rb
coveragebook_components-0.17.6 app/components/coco/concerns/extendable.rb
coveragebook_components-0.17.5 app/components/coco/concerns/extendable.rb
coveragebook_components-0.17.4 app/components/coco/concerns/extendable.rb
coveragebook_components-0.17.3 app/components/coco/concerns/extendable.rb
coveragebook_components-0.17.2 app/components/coco/concerns/extendable.rb
coveragebook_components-0.17.1 app/components/coco/concerns/extendable.rb
coveragebook_components-0.17.0 app/components/coco/concerns/extendable.rb