Tag: YARD
# Namespace for classes and modules that handle serving documentation over HTTP # # @since 0.6.0
# Abstract base class for CLI utilities. Provides some helper methods for # the option parser # # @author Full Name
# An alias to {Parser::SourceParser}'s parsing method # # @option opts [String] :subject The subject # return the object
# Generates Array containing numbers exceeding limit_age. Numbers is # members of ages. # # @example extract ages over 40 # overages = extract_overage([17, 43, 40, 56], 40) # puts("overages: #{overages.join(", ")}") #=> "overages: 43, 56" # # # @param ages [Array] numbers checked if they exceeded from limit_age. # @param limit_age [Integer] limit_age limit used to extract # bigger ages than it. # @return [Array] Returns Array containing numbers exceeding limit_age. def extract_overage(ages, limit_age=20)
# @type [Integer] customer_id = 1 # @type [String] customer_name customer_name = "Andrew Fuller"