This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# manage plugins for earthquake.gem | |
# | |
# forked from: | |
# https://gist.github.com/milligramme/5253047 | |
# | |
# usage | |
# :manage_plugins show installed plugin | |
# :manage_plugins on <plugin_name> enable plugin | |
# :manage_plugins off <plugin_name> disable plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: UTF-8 | |
# emoji plugin(Emot gem version) | |
# ==== | |
# | |
# You can post Emoji easily! | |
# | |
# Usage | |
# ---- | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use benchmark_suite | |
# https://github.com/evanphx/benchmark_suite | |
# -*- encoding: utf-8 -*- | |
require 'benchmark/ips' | |
class Character < Struct.new(:name, :level, :point) | |
def to_s | |
"%s:\tlv:%d\tpt:%d" % values | |
end | |
end |