mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
added some todos
This commit is contained in:
parent
8c11a6b7ee
commit
56ed748fc4
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
require 'ostruct'
|
||||
|
||||
# TODO shorten this [thorsten, 2011-12-20]
|
||||
require File.join(File.dirname(__FILE__), 'aasm', 'version')
|
||||
require File.join(File.dirname(__FILE__), 'aasm', 'errors')
|
||||
require File.join(File.dirname(__FILE__), 'aasm', 'base')
|
||||
|
|
|
@ -9,6 +9,7 @@ module AASM
|
|||
@opts = opts
|
||||
end
|
||||
|
||||
# TODO: should be named allowed? or similar
|
||||
def perform(obj, *args)
|
||||
case @guard
|
||||
when Symbol, String
|
||||
|
|
Loading…
Reference in a new issue