Method: Botbckt::StarJar#push
- Defined in:
- lib/botbckt/commands/star_jar.rb
#push(user, &block) ⇒ Object
Adds a star to the jar for the user
Parameters
- user<String>
-
The user receiving a star. Required.
22 23 24 |
# File 'lib/botbckt/commands/star_jar.rb', line 22 def push(user, &block) increment! "starjar-#{user}", &block end |