Class: TDiary::CGIAdapter::PlainCGIRequest

Inherits:
Struct
  • Object
show all
Defined in:
lib/tdiary/cgi_adapter.rb

Overview

a plain CGI process serves exactly one request through ENV and the standard streams

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#envObject

Returns the value of attribute env

Returns:

  • (Object)

    the current value of env



14
15
16
# File 'lib/tdiary/cgi_adapter.rb', line 14

def env
  @env
end

#errObject

Returns the value of attribute err

Returns:

  • (Object)

    the current value of err



14
15
16
# File 'lib/tdiary/cgi_adapter.rb', line 14

def err
  @err
end

#inObject

Returns the value of attribute in

Returns:

  • (Object)

    the current value of in



14
15
16
# File 'lib/tdiary/cgi_adapter.rb', line 14

def in
  @in
end

#outObject

Returns the value of attribute out

Returns:

  • (Object)

    the current value of out



14
15
16
# File 'lib/tdiary/cgi_adapter.rb', line 14

def out
  @out
end

Instance Method Details

#finishObject



15
# File 'lib/tdiary/cgi_adapter.rb', line 15

def finish; end