1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

added some todos

This commit is contained in:
Thorsten Böttger 2011-12-21 11:27:51 +01:00
parent 8c11a6b7ee
commit 56ed748fc4
2 changed files with 2 additions and 0 deletions

View file

@ -1,5 +1,6 @@
require 'ostruct' require 'ostruct'
# TODO shorten this [thorsten, 2011-12-20]
require File.join(File.dirname(__FILE__), 'aasm', 'version') require File.join(File.dirname(__FILE__), 'aasm', 'version')
require File.join(File.dirname(__FILE__), 'aasm', 'errors') require File.join(File.dirname(__FILE__), 'aasm', 'errors')
require File.join(File.dirname(__FILE__), 'aasm', 'base') require File.join(File.dirname(__FILE__), 'aasm', 'base')

View file

@ -9,6 +9,7 @@ module AASM
@opts = opts @opts = opts
end end
# TODO: should be named allowed? or similar
def perform(obj, *args) def perform(obj, *args)
case @guard case @guard
when Symbol, String when Symbol, String