示例#1
0
        public override FilterInfo GetFilters()
        {
            var filters = (Hash)RubyEngine.CallMethod(RubyControllerDescriptor.RubyControllerClass, "action_filters");

            var info = filters.ToFilterInfo(ActionName);

            return(info);
        }
示例#2
0
 public override object Execute(ControllerContext controllerContext, IDictionary <string, object> parameters)
 {
     return(RubyEngine.CallMethod(controllerContext.Controller, ActionName));
 }