diff --git a/lib/sapling/gardner.rb b/lib/sapling/gardner.rb index a75c28e..5437883 100644 --- a/lib/sapling/gardner.rb +++ b/lib/sapling/gardner.rb @@ -56,7 +56,7 @@ module Gardner # The main method for Sapling. From here, the tree is grown. # - # @param file [File] The dialogue tree file + # @param tree [File] The dialogue tree file # @return [Hash] The final, constructed data set def self.grow(tree) trunk = Gardner.prune_trunk(tree) diff --git a/lib/sapling/planter.rb b/lib/sapling/planter.rb index 7783d66..4c30739 100644 --- a/lib/sapling/planter.rb +++ b/lib/sapling/planter.rb @@ -32,7 +32,7 @@ module Planter # display the trunk, since otherwise it's displayed a single time then gone # forever (until next time). # - # @param branch [Integer] The number of the branch to be displayed. + # @param branch_no [Integer] The number of the branch to be displayed. def dig(branch_no) branch = @plot.branches[branch_no]