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
# NOTE: | |
# This version is out-of-date. | |
# Please access http://github.com/maraigue/devnull for the versions under development. | |
# Ruby implementation of null file (like /dev/null on Un*x, NUL on Windows) | |
# (C) 2010- H.Hiro(Maraigue) main@hhiro.net | |
# | |
# DevNull works like an IO object. For example: | |
# dn = DevNull.new | |
# dn.puts "foo" # => nil (do nothing) |
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
require 'rubygems' | |
require 'sinatra' | |
require 'oauth' | |
require 'twitter' | |
helpers do | |
include Rack::Utils | |
alias_method :h, :escape_html | |
end |
NewerOlder