Method: Autobuild.post_install
- Defined in:
- lib/autobuild/config.rb
.post_install(*args, &block) ⇒ Object
106 107 108 109 110 111 112 113 114 |
# File 'lib/autobuild/config.rb', line 106 def self.post_install(*args, &block) if args.empty? @post_install_handlers << block elsif !block @post_install_handlers << args else raise ArgumentError, "cannot set both arguments and block" end end |