Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module MegaMenus
- module Editor
- #here we want a class method!
- def self.included(base)
- base.extend ClassMethods
- end
- module ClassMethods
- def acts_as_menu
- self.send :extend, Aamcm
- end
- end
- module Aamcm
- def check_menus
Add Comment
Please, Sign In to add comment