2010-12-28から1日間の記事一覧

HighLine:ask の挙動、中身

以下のように引数は、Question に引き渡される def ask( question, answer_type = String, &details ) # :yields: question @question ||= Question.new(question, answer_type, &details) gather への挙動 >> require "highline/import" => true >> ask("fo…