Sha256: d02144f489b1dd402bdf3fa2269f3c998015631f9a044840f6b5cffc8a05cc6e

Contents?: true

Size: 291 Bytes

Versions: 15

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

module Esse
  module Plugins
    def self.inherited_instance_variables(mod, hash)
      mod.send(:define_method, :inherited_instance_variables) do
        super().merge!(hash)
      end
      mod.send(:private, :inherited_instance_variables)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
esse-0.4.0.rc4 lib/esse/plugins.rb
esse-0.4.0.rc3 lib/esse/plugins.rb
esse-0.4.0.rc2 lib/esse/plugins.rb
esse-0.4.0.rc1 lib/esse/plugins.rb
esse-0.3.5 lib/esse/plugins.rb
esse-0.3.4 lib/esse/plugins.rb
esse-0.3.3 lib/esse/plugins.rb
esse-0.3.2 lib/esse/plugins.rb
esse-0.3.1 lib/esse/plugins.rb
esse-0.3.0 lib/esse/plugins.rb
esse-0.2.6 lib/esse/plugins.rb
esse-0.2.5 lib/esse/plugins.rb
esse-0.2.4 lib/esse/plugins.rb
esse-0.2.3 lib/esse/plugins.rb
esse-0.2.2 lib/esse/plugins.rb