Sha256: 054b4c3a72134f89325556d4cd58f28a8087bbe477a5505385d890cd79a7b469
Contents?: true
Size: 1.07 KB
Versions: 26
Compression:
Stored size: 1.07 KB
Contents
#This class handels all the magic-methods in a different way - by defining them as methods on the binding for the .rhtml-pages. class Hayabusa::Http_session::Page_environment def initialize(args = {}) @args = args end def get_binding return binding end def _buf return $stdout end def _cookie return @args[:httpsession].cookie end def _db return @args[:hb].db_handler end def _get return @args[:httpsession].get end def _hb return @args[:hb] end alias _requestdata _hb def _hb_vars return @args[:hb].vars end def _httpsession return @args[:httpsession] end def _httpsession_var return @args[:httpsession].httpsession_var end def _post return @args[:httpsession].post end def _meta return @args[:httpsession].meta end alias _server _meta def _session return @args[:httpsession].session.sess_data end def _session_hash return @args[:httpsession].session_hash end def _session_obj return @args[:httpsession].session end end
Version data entries
26 entries across 26 versions & 1 rubygems