Skip to content

Commit 41037e9

Browse files
committed
Enable RoutingRule#snapshot_name contract
1 parent 88e3717 commit 41037e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nanoc/lib/nanoc/rule_dsl/routing_rule.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Nanoc::RuleDSL
44
class RoutingRule < Rule
55
include Nanoc::Int::ContractsSupport
66

7-
# contract C::None => C::Maybe[Symbol]
7+
contract C::None => C::Maybe[Symbol]
88
attr_reader :snapshot_name
99

1010
contract Nanoc::Int::Pattern, Symbol, Proc, C::KeywordArgs[snapshot_name: C::Optional[Symbol]] => C::Any

0 commit comments

Comments
 (0)