Sha256: 56dd186119b2dd0891b696dbe727f70c5ab3e6b257760f50444a9cab5d6d7629
Contents?: true
Size: 1.92 KB
Versions: 13
Compression:
Stored size: 1.92 KB
Contents
def _cookie return Thread.current[:knjappserver][:cookie] if Thread.current[:knjappserver] end def _get return Thread.current[:knjappserver][:get] if Thread.current[:knjappserver] end def _post return Thread.current[:knjappserver][:post] if Thread.current[:knjappserver] end def _meta return Thread.current[:knjappserver][:meta] if Thread.current[:knjappserver] end def _server return Thread.current[:knjappserver][:meta] if Thread.current[:knjappserver] end def _session return Thread.current[:knjappserver][:session].sess_data if Thread.current[:knjappserver] and Thread.current[:knjappserver][:session] end def _session_hash return Thread.current[:knjappserver][:session].edata if Thread.current[:knjappserver] and Thread.current[:knjappserver][:session] end def _session_obj return Thread.current[:knjappserver][:session] if Thread.current[:knjappserver] and Thread.current[:knjappserver][:session] end def _httpsession return Thread.current[:knjappserver][:httpsession] if Thread.current[:knjappserver] end def _httpsession_var return Thread.current[:knjappserver][:httpsession].httpsession_var if Thread.current[:knjappserver] end def _requestdata return Thread.current[:knjappserver] if Thread.current[:knjappserver] end def _kas return Thread.current[:knjappserver][:kas] if Thread.current[:knjappserver] end def _vars return Thread.current[:knjappserver][:kas].vars if Thread.current[:knjappserver] end def _db return Thread.current[:knjappserver][:db] if Thread.current[:knjappserver] and Thread.current[:knjappserver][:db] #This is the default use from a .rhtml-file. return Thread.current[:knjappserver][:kas].db_handler if Thread.current[:knjappserver] and Thread.current[:knjappserver][:kas] #This is useually used when using autoload-argument for the appserver. end #This function makes it possible to define methods in ERubis-parsed files (else _buf-variable wouldnt be globally available). def _buf return $stdout end
Version data entries
13 entries across 13 versions & 1 rubygems