Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #4 from sails/master
Browse files Browse the repository at this point in the history
let manager = RuleManager(fromRules: ...)
  • Loading branch information
zhuhaow authored Aug 13, 2016
2 parents 4892a1c + 0f03fd2 commit 8edc0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rule/RuleManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class RuleManager {
- parameter rules: The rules.
- parameter appendDirect: Whether to append a `DirectRule` at the end of the list so any request does not match with any rule go directly.
*/
init(fromRules rules: [Rule], appendDirect: Bool = false) {
public init(fromRules rules: [Rule], appendDirect: Bool = false) {
self.rules = rules

if appendDirect || self.rules.count == 0 {
Expand Down

0 comments on commit 8edc0b3

Please sign in to comment.