Module: Tzispa::Helpers::Hooks::After::ClassMethods
- Defined in:
- lib/tzispa/helpers/hooks/after.rb
Instance Method Summary collapse
Instance Method Details
#after(*args) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/tzispa/helpers/hooks/after.rb', line 17 def after(*args) (@after_chain ||= []).tap do |bef| args&.each do |s| s = s.to_sym bef << s unless bef.include?(s) end end end |