Class: Aspector::Base
- Inherits:
-
Object
- Object
- Aspector::Base
- Defined in:
- lib/aspector/base.rb,
lib/aspector/base_class_methods.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#apply(target, options = {}) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/aspector/base.rb', line 9 def apply target, = {} = self.class. if and not .empty? = .merge() end Interception.new(self, target, ).apply end |
#disabled? ⇒ Boolean
5 6 7 |
# File 'lib/aspector/base.rb', line 5 def disabled? false end |