lib/gamefic/active/epic.rb in gamefic-3.4.0 vs lib/gamefic/active/epic.rb in gamefic-3.5.0
- old
+ new
@@ -49,9 +49,10 @@
def syntaxes
rulebooks.flat_map(&:syntaxes)
end
+ # @return [Array<Response>]
def responses_for(*verbs)
rulebooks.to_a
.reverse
.flat_map { |rb| rb.responses_for(*verbs) }
end