Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⭕️🚪💲🍴👎🔪 #30

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/active_emoji/core_ext/enumerable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Enumerable
alias 🚲 cycle
alias 🔁🍕 each_slice
alias 🔎 find
alias 🔎📄 find_index
alias 💉 inject
alias 😴 lazy
alias 📍 map
Expand Down
1 change: 1 addition & 0 deletions lib/active_emoji/core_ext/integer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ class Integer
alias ❌ times
alias 👆 upto
alias 👇 downto
alias ⭕️ round
end
4 changes: 4 additions & 0 deletions lib/active_emoji/core_ext/kernel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ module Kernel
alias ⚠️ warn
def 🔟; 10 end
def 💯; 100 end
def 🔪 ��� chop
def 👎 fail
def 🍴 fork
���
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be definitions or aliases?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aliases

end
1 change: 1 addition & 0 deletions lib/active_emoji/core_ext/thread.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ class Thread
alias ⛔❓ stop?
alias 💹 value
alias ⏰ wakeup
alias ⚡️ current
end