Skip to content

Commit

Permalink
Merge pull request #519 from yui-knk/comments_for_params
Browse files Browse the repository at this point in the history
Comments for `Digraph#initialize`
  • Loading branch information
yui-knk authored Jan 21, 2025
2 parents 5eadda7 + 5628ee5 commit 7e0aee8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/lrama/digraph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class Digraph
# @h: Hash[X, (Integer|Float)?]
# @result: Hash[X, Y]

# @rbs sets: Array[X]
# @rbs relation: Hash[X, Array[X]]
# @rbs base_function: Hash[X, Y]
# @rbs sets: Array[X] -- Nodes of graph
# @rbs relation: Hash[X, Array[X]] -- Edges of graph
# @rbs base_function: Hash[X, Y] -- Attributes of nodes
# @rbs return: void
def initialize(sets, relation, base_function)

Expand Down
6 changes: 3 additions & 3 deletions sig/generated/lrama/digraph.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ module Lrama

@result: Hash[X, Y]

# @rbs sets: Array[X]
# @rbs relation: Hash[X, Array[X]]
# @rbs base_function: Hash[X, Y]
# @rbs sets: Array[X] -- Nodes of graph
# @rbs relation: Hash[X, Array[X]] -- Edges of graph
# @rbs base_function: Hash[X, Y] -- Attributes of nodes
# @rbs return: void
def initialize: (Array[X] sets, Hash[X, Array[X]] relation, Hash[X, Y] base_function) -> void

Expand Down

0 comments on commit 7e0aee8

Please sign in to comment.