class Racc::UserAction

def empty?

def empty?
  not @proc and not @source
end

def initialize(src, proc)

def initialize(src, proc)
  @source = src
  @proc = proc
end

def name

def name
  "{action type=#{@source || @proc || 'nil'}}"
end

def proc?

def proc?
  not @source
end

def source?

def source?
  not @proc
end