>>814
routeとshowの関係がわからないのでaccessだけ実装してみた
汎用性とかは考えてない

module Annotation
 def access(type) ; @access = type ; end
 def method_added(name)
  if @access
   send(@access,name)
   @access = nil
  end
 end
end

class Hoge
 extend Annotation
 access :public
 def show
  :