Class: Eployday::Deploy
- Inherits:
-
Object
- Object
- Eployday::Deploy
- Includes:
- Cinch::Plugin
- Defined in:
- lib/eployday/deploy.rb
Instance Method Summary collapse
Instance Method Details
#execute(m) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/eployday/deploy.rb', line 10 def execute(m) if PermissionChecker.allowed?(m.user) m.reply "#{m.user.nick}: beginning deploy." Kernel.system "sm deploy" m.reply "#{m.user.nick}: deploy finished." end end |