Sha256: 97a9928b64f55fce7bdb64926c005ecac3e3ab5b52b24b996c1e096344d9f1ca

Contents?: true

Size: 172 Bytes

Versions: 8

Compression:

Stored size: 172 Bytes

Contents

if RUBY_VERSION < "1.9.3"
  class Module
    private
    # Suppresses no-method error for earlier rubies
    def private_constant name
      # do nothing
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tengine_support-1.2.2 lib/tengine/support/core_ext/module/private_constant.rb
tengine_support-1.2.1 lib/tengine/support/core_ext/module/private_constant.rb
tengine_support-1.2.0 lib/tengine/support/core_ext/module/private_constant.rb
tengine_support-1.1.0 lib/tengine/support/core_ext/module/private_constant.rb
tengine_support-0.3.27 lib/tengine/support/core_ext/module/private_constant.rb
tengine_support-0.3.26 lib/tengine/support/core_ext/module/private_constant.rb
tengine_support-0.3.25 lib/tengine/support/core_ext/module/private_constant.rb
tengine_support-0.3.24 lib/tengine/support/core_ext/module/private_constant.rb