Skip to content

Commit

Permalink
Some comments in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
elcuervo committed Dec 1, 2015
1 parent b51b8b3 commit 42b3bb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/minuteman.rb
Expand Up @@ -105,10 +105,13 @@ def counters_cache
end
end

# Helper method to easily access the analytics part
def Minuteman(action)
Minuteman.analyze(action)
end

# Why call this method so different from Minuteman?
# for the lulz: https://github.com/maccman/counterman/issues/1
def Counterman(action)
Minuteman.count(action)
end
Expand Down

0 comments on commit 42b3bb4

Please sign in to comment.