CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 28 Aug 2025 00:16:56 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100424052945
location: https://web.archive.org/web/20100424052945/https://github.com/rubyist/aasm/tree/multiplesm
server-timing: captures_list;dur=0.776550, exclusion.robots;dur=0.033084, exclusion.robots.policy;dur=0.011927, esindex;dur=0.016071, cdx.remote;dur=5.942659, LoadShardBlock;dur=150.914801, PetaboxLoader3.datanode;dur=43.167124, PetaboxLoader3.resolve;dur=35.605902
x-app-server: wwwb-app216
x-ts: 302
x-tr: 192
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app216; 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 200
server: nginx
date: Thu, 28 Aug 2025 00:16:57 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sat, 24 Apr 2010 05:29:45 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "46e8bb30ed517d1dbb0a60227566b961"
x-archive-orig-x-runtime: 114ms
x-archive-orig-content-length: 25855
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 24 Apr 2010 05:29:45 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 24 Sep 2008 12:43:49 GMT", ; rel="prev memento"; datetime="Fri, 25 Dec 2009 10:02:49 GMT", ; rel="memento"; datetime="Sat, 24 Apr 2010 05:29:45 GMT", ; rel="next memento"; datetime="Sun, 25 Apr 2010 12:17:07 GMT", ; rel="last memento"; datetime="Fri, 21 May 2010 08:42:30 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_15_20100424040303_crawl102-c/52_15_20100424052912_crawl101.arc.gz
server-timing: captures_list;dur=0.637425, exclusion.robots;dur=0.024736, exclusion.robots.policy;dur=0.010492, esindex;dur=0.012416, cdx.remote;dur=71.292080, LoadShardBlock;dur=720.685333, PetaboxLoader3.datanode;dur=668.468634, PetaboxLoader3.resolve;dur=123.512603, load_resource;dur=90.580331
x-app-server: wwwb-app216
x-ts: 200
x-tr: 950
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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
rubyist's aasm at multiplesm - GitHub
rubyist / aasm
- Source
- Commits
- Network (101)
- Issues (15)
- Downloads (1)
- Wiki (1)
- Graphs
-
Branch:
multiplesm
click here to add a description
click here to add a homepage
aasm /
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Thu May 29 13:28:06 -0700 2008 | add coverage output to gitignore [rubyist] |
![]() |
CHANGELOG | Loading commit data... ![]() |
|
![]() |
MIT-LICENSE | Thu Feb 21 09:54:42 -0800 2008 | Add .aasm_states method to get a list of all st... [rubyist] |
![]() |
README.rdoc | ||
![]() |
Rakefile | Thu May 29 13:27:44 -0700 2008 | That doesn't work [rubyist] |
![]() |
TODO | Sat May 31 15:08:12 -0700 2008 | Support enter and exit actions on states [rubyist] |
![]() |
aasm.gemspec | Thu May 29 07:16:45 -0700 2008 | Updated changelog and version [spicycode] |
![]() |
aasm.rb | Mon Jan 07 11:11:38 -0800 2008 | Import into git [rubyist] |
![]() |
doc/ | Thu Feb 21 08:41:56 -0800 2008 | Prepare rakefile and rake tasks for gem packagi... [rubyist] |
![]() |
lib/ | ||
![]() |
multi-example.rb | ||
![]() |
spec/ |
README.rdoc
AASM - Ruby state machines
This package contains AASM, a library for adding finite state machines to Ruby classes.
AASM started as the acts_as_state_machine plugin but has evolved into a more generic library that no longer targets only ActiveRecord models.
AASM has the following features:
- States
- Machines
- Events
- Transitions
Download
The latest AASM can currently be pulled from the git repository on github.
A release and a gem are forthcoming.
Installation
From GitHub hosted gems
% sudo gem sources -a https://gems.github.com # (you only need to do this once) % sudo gem install rubyist-aasm
Building your own gems
% rake gem % sudo gem install pkg/aasm-0.0.2.gem
Simple Example
Here’s a quick example highlighting some of the features.
class Conversation include AASM aasm_initial_state :new aasm_state :new aasm_state :read aasm_state :closed aasm_event :view do transitions :to => :read, :from => [:new] end aasm_event :close do transitions :to => :closed, :from => [:read, :new] end end
Other Stuff
Author: | Scott Barron <scott at elitists dot net> |
License: | Copyright 2006, 2007, 2008 by Scott Barron. Released under an MIT-style license. See the LICENSE file included in the distribution. |
Warranty
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.