I would rather that the semantics of this were: 
<pre>
def publish(message, *arguments)
  if arguments.first.is_a?(Razor::Command) then
    # special case handling this here
  end
  # ...
end
</pre>

...or even `arguments.map {|x| x.is_a?(Razor::Command) ? magic(x) : x }` or something.