【文件属性】:
文件名称:膳食Ruby:找到可以用表情符号烹饪的食物:man::man:
文件大小:7KB
文件格式:ZIP
更新时间:2021-02-05 07:01:27
ruby emoji food gem cookbook
餐Ruby
查找可以用表情符号烹饪的东西
开始吧
安装宝石:
gem install meals
然后开始使用它:
require 'meals'
用法
您可以使用Meals.mealify开始检查食谱。
Meals . mealify ( ":new_moon_face:" , ":shortcake:" ) #=> ":moon_cake:"
# it is not order dependent :hundred_points::hundred_points:IQ :brain::collision:
Meals . mealify ( ":shortcake:" , ":new_moon_face:" ) #=> ":moon_cake:"
# Use more than two items!
Meals . mealify ( ":bread:" , ":tomato:" , ":cheese_wedge:" ) #=> ":pizza:"
# After a
【文件预览】:
meals-ruby-master
----.gitignore(1KB)
----LICENSE(2KB)
----CHANGELOG.md(153B)
----_config.yml(26B)
----.github()
--------workflows()
----README.md(2KB)
----lib()
--------recipes.json(268B)
--------meals.rb(507B)
----meals.gemspec(737B)
----Gemfile(39B)
----Rakefile(115B)
----test()
--------test_meals.rb(267B)