Вопрос по ruby – Перебор регистров Yardoc `@ macro`

0

Error: User Rate Limit Exceeded@macroError: User Rate Limit Exceeded

class Post
  include DataMapper::Resource

  # @macro dm.property
  # @return [$2] the $1 $0 of the post
  property :title, String
end

Error: User Rate Limit Exceeded

# @macro dsl_method
# @method $1(${2--2})
# @return [${-1}] the return value of $0
create_method_with_args :foo, :a, :b, :c, String

генерирует:foo(a, b, c) а такжеreturns (String) the return value of create_method_with_argsError: User Rate Limit Exceeded(${2--1}).each do |$arg|Error: User Rate Limit Exceeded

Ваш Ответ

1   ответ
1

somewhere@param

# @param [String] a documentation for a
# @param [Symbol] b documentation for b
# @param [Hash] c documentation for c
create_method_with_args :bar, :a, :b, :c, Fixnum

Error: User Rate Limit ExceededhereError: User Rate Limit Exceededdef self.property( name, type, (arg_name, default, type, required)*)Error: User Rate Limit Exceeded@paramError: User Rate Limit Exceeded rudolph9

Похожие вопросы