public override FilterInfo GetFilters() { var filters = (Hash)RubyEngine.CallMethod(RubyControllerDescriptor.RubyControllerClass, "action_filters"); var info = filters.ToFilterInfo(ActionName); return(info); }
public override object Execute(ControllerContext controllerContext, IDictionary <string, object> parameters) { return(RubyEngine.CallMethod(controllerContext.Controller, ActionName)); }