Module: Frill::ClassMethods

Defined in:
lib/frill/frill.rb

Instance Method Summary collapse

Instance Method Details

#after(decorator) ⇒ Object



42
43
44
# File 'lib/frill/frill.rb', line 42

def after decorator
  Frill.dependency_graph.move_before decorator, self
end

#before(decorator) ⇒ Object



38
39
40
# File 'lib/frill/frill.rb', line 38

def before decorator
  Frill.dependency_graph.move_before self, decorator
end