class Outil::Decorators::NameSpace

Public Class Methods

new(namespace) click to toggle source
# File lib/outil/decorators.rb, line 15
def initialize(namespace)
    @namespace = namespace
end

Public Instance Methods

call(this, *args, &blk) click to toggle source
# File lib/outil/decorators.rb, line 19
def call(this, *args, &blk)
    # TODO
    # Intended behavior is to register the decorated
    # method under a given namespace, so you can
    # have two methods named the same thing, etc.
    this.call(*args, &blk)
end