Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/contextr/core_ext/object.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#behavioural_class ⇒ Object
:nodoc:.
Instance Method Details
#behavioural_class ⇒ Object
:nodoc:
2 3 4 5 6 7 8 |
# File 'lib/contextr/core_ext/object.rb', line 2 def behavioural_class #:nodoc: if self.kind_of?(Module) class << self; self; end else self.class end end |