changed comment to work with yardoc

This commit is contained in:
danijoo
2014-01-01 19:37:22 +01:00
parent 8ca87b6353
commit e3e0b8507a

View File

@@ -11,7 +11,7 @@ class LeagueModule < SightstoneBaseModule
# Provides league information of a summoner # Provides league information of a summoner
# @param [Summoner, Integer] summoner # @param [Summoner, Integer] summoner
# @param optional [Hash] optional arguments: :region => replaces default region # @param optional [Hash] optional arguments: :region => replaces default region
# @returns [Array<League>] an array of all leagues the summoner and his teams are in # @return [Array<League>] an array of all leagues the summoner and his teams are in
def league(summoner, optional={}) def league(summoner, optional={})
region = optional[:region] || @sightstone.region region = optional[:region] || @sightstone.region
id = if summoner.is_a? Summoner id = if summoner.is_a? Summoner