summaryrefslogtreecommitdiff
path: root/lib/rack/lint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/lint.rb')
-rw-r--r--lib/rack/lint.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rack/lint.rb b/lib/rack/lint.rb
index 7bc433b8..79bd9c02 100644
--- a/lib/rack/lint.rb
+++ b/lib/rack/lint.rb
@@ -215,6 +215,10 @@ module Rack
@input = input
end
+ def size
+ @input.size
+ end
+
## * +gets+ must be called without arguments and return a string,
## or +nil+ on EOF.
def gets(*args)