Module: Humanoid::Enslavement
- Defined in:
- lib/humanoid/enslavement.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/humanoid/enslavement.rb', line 4 def self.included(base) base.class_eval do extend ClassMethods class_inheritable_accessor :enslaved self.enslaved = false delegate :enslaved?, :to => "self.class" end end |