Module: Quiescent

Defined in:
lib/quiescent.rb

Overview

Quiescing constants for Ruby.

Copyright © 2011 Red Hat, Inc.

Author: William Benton ([email protected])

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Defined Under Namespace

Modules: CM

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



54
55
56
57
58
# File 'lib/quiescent.rb', line 54

def self.included(receiver)
  receiver.extend CM
  receiver.send(:private_class_method, :__qcs)
  receiver.send(:private_class_method, :quiescent)
end