CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 07 Aug 2025 08:24:57 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20081015234304
location: https://web.archive.org/web/20081015234304/https://github.com/auser/backcall/tree
server-timing: captures_list;dur=0.618786, exclusion.robots;dur=0.029381, exclusion.robots.policy;dur=0.017549, esindex;dur=0.011433, cdx.remote;dur=15.095136, LoadShardBlock;dur=222.135010, PetaboxLoader3.datanode;dur=84.055139, PetaboxLoader3.resolve;dur=69.758560
x-app-server: wwwb-app201
x-ts: 302
x-tr: 266
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app201; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Thu, 07 Aug 2025 08:24:58 GMT
content-type: text/html; charset=utf-8
content-length: 110
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Wed, 15 Oct 2008 23:43:03 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20081015234304/https://github.com/auser/backcall/tree/master
x-archive-orig-x-runtime: 0.23197
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 110
cache-control: max-age=1800
memento-datetime: Wed, 15 Oct 2008 23:43:04 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 15 Oct 2008 23:43:04 GMT", ; rel="memento"; datetime="Wed, 15 Oct 2008 23:43:04 GMT", ; rel="last memento"; datetime="Wed, 15 Oct 2008 23:43:04 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_6_20081015191538_crawl103-c/52_6_20081015233945_crawl103.arc.gz
server-timing: captures_list;dur=1.600895, exclusion.robots;dur=0.069571, exclusion.robots.policy;dur=0.041960, esindex;dur=0.031441, cdx.remote;dur=430.257420, LoadShardBlock;dur=253.146615, PetaboxLoader3.datanode;dur=175.034175, PetaboxLoader3.resolve;dur=199.882959, load_resource;dur=229.861651
x-app-server: wwwb-app201
x-ts: 301
x-tr: 950
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 07 Aug 2025 08:24:59 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Wed, 15 Oct 2008 23:43:04 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 1.11253
x-archive-orig-etag: "c8290476e4b234936f53559a8a5da6b4"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 16586
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 15 Oct 2008 23:43:04 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 15 Oct 2008 23:43:04 GMT", ; rel="memento"; datetime="Wed, 15 Oct 2008 23:43:04 GMT", ; rel="next memento"; datetime="Mon, 20 Oct 2008 11:27:12 GMT", ; rel="last memento"; datetime="Mon, 20 Oct 2008 11:27:12 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_6_20081015191538_crawl103-c/52_6_20081015233945_crawl103.arc.gz
server-timing: captures_list;dur=0.562119, exclusion.robots;dur=0.023318, exclusion.robots.policy;dur=0.014749, esindex;dur=0.011874, cdx.remote;dur=122.836537, LoadShardBlock;dur=161.550826, PetaboxLoader3.datanode;dur=77.683490, PetaboxLoader3.resolve;dur=192.245575, load_resource;dur=133.320247
x-app-server: wwwb-app201
x-ts: 200
x-tr: 468
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
auser's backcall at master — GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

No gems have been built for this project yet.
Description: | Super lightweight, memory-efficient callback methods |
Homepage: | https://blog.citrusbyte.com |
Clone URL: |
git://github.com/auser/backcall.git
Give this clone URL to anyone.
git clone git://github.com/auser/backcall.git
|
backcall /
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Thu Jun 12 15:51:06 -0700 2008 | Updated gem [auser] |
![]() |
CHANGELOG | Thu Jun 12 15:44:31 -0700 2008 | Updated manifest [auser] |
![]() |
Manifest | Tue Sep 16 02:23:29 -0700 2008 | Quick overview of backcall [auser] |
![]() |
README | Thu Jun 05 11:05:24 -0700 2008 | Updated backcall and callback_spec [auser] |
![]() |
Rakefile | Thu Jun 12 16:55:23 -0700 2008 | Updated gemspec [auser] |
![]() |
lib/ | Tue Sep 16 02:23:29 -0700 2008 | Quick overview of backcall [auser] |
![]() |
pkg/ | Tue Sep 16 02:23:29 -0700 2008 | Quick overview of backcall [auser] |
![]() |
spec/ | Tue Sep 16 02:23:29 -0700 2008 | Quick overview of backcall [auser] |
README
= Backcall Ari Lerner CitrusByte https://blog.citrusbyte.com == DESCRIPTION: * Backcall, Ari Lerner, Citrusbyte (https://blog.citrusbyte.com) - Simply add super lightweight, memory-efficient before and after callbacks. == Basics Simply require backcall require 'backcall' And include callbacks in your classes include Backcall::Callbacks in your class Then you can call before or after on any method, for instance: class TestCallbacks before :world, :hello after :world, :thanks def hello(caller) string << "hello " end def world string << "world" end def thanks(caller) string << ", thank you" end end TestCallbacks.new.world => "hello world, thank you" You can write callbacks currently in the following forms: * before :world, :hello, :hi, :you * before :world do puts "hello " end * before :world, {:hello => "OutsideClass"} * before :world, {:hello => OutsideClass} Note on the last two: If you call the last style with a string, it expects the OutsideClass If you call the last one, your class with create a method that calls new on the class that you send to it, It will keep == INSTALL: gem install backcall == LICENSE: (The MIT License) Copyright (c) 2008 Ari Lerner. CitrusByte Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This feature is coming soon. Sit tight!