Module Aquarium::DSL
In: lib/aquarium/dsl/aspect_dsl.rb

Include this module to add convenience class-level methods to a type, which provide a low-level AOP DSL. For example, instead of writing

  Aspect.new :around, :calls_to => ...

You can write the following instead.

  include Aspect::DSL
  ...
  around :calls_to => ...

If you don‘t want these methods added to a type, then only require aspect.rb and create instances of Aspect, as in the first example.

Methods

Included Modules

Aquarium::DSLMethods

Public Class methods

Add the methods as class, not instance, methods.

[Source]

    # File lib/aquarium/dsl/aspect_dsl.rb, line 70
70:     def self.append_features clazz
71:       super(class << clazz; self; end)
72:     end

[Validate]