Module: TcAdapter
- Included in:
- User
- Defined in:
- lib/models/tc_adapter.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/models/tc_adapter.rb', line 2 def self.included(base) base.extend ClassMethods base.class_eval { include TcAdapter::InstanceMethods alias :class_id :id } end |