module Ardm::Ar::Is::ClassMethods

Public Instance Methods

is(target, options={}, &block) click to toggle source
# File lib/ardm/ar/is.rb, line 10
def is(target, options={}, &block)
  case target
  when :state_machine
    include Ardm::Ar::Is::StateMachine
    is_state_machine(options, &block)
  else
    STDERR.puts "TODO: #{self} is #{target.inspect}, #{options.inspect}"
  end
end