about summary refs log tree commit homepage
path: root/lib/yahns/tiny_input.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/tiny_input.rb')
-rw-r--r--lib/yahns/tiny_input.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/yahns/tiny_input.rb b/lib/yahns/tiny_input.rb
new file mode 100644
index 0000000..55bdd03
--- /dev/null
+++ b/lib/yahns/tiny_input.rb
@@ -0,0 +1,7 @@
+# -*- encoding: binary -*-
+# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> et. al.
+# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
+class Yahns::TinyInput < StringIO # :nodoc:
+  def discard # just returns nil
+  end
+end