0
0
Fork 0

call is a class function

This commit is contained in:
Gibheer 2012-11-16 10:50:12 +01:00
parent 8a1c464c8b
commit 75ccc3195d
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ require 'zero/all'
class SpecApp
attr_reader :env
def call(env)
def self.call(env)
@env = env
return [200, {'Content-Type' => 'text/html'}, ['success']]
end