本文簡要介紹ruby語言中 OpenSSL::ASN1::Constructive.each
的用法。
用法
each { |asn1| block } → asn1_ary
為 self 中的每個元素調用一次給定塊,將該元素作為參數傳遞 asn1
。如果沒有給出塊,則返回一個枚舉器。
示例
asn1_ary.each do |asn1|
puts asn1
end
相關用法
- Ruby Constructive類用法及代碼示例
- Ruby Constants模塊用法及代碼示例
- Ruby Context.save_history=用法及代碼示例
- Ruby Continuation類用法及代碼示例
- Ruby Context.echo_on_assignment?用法及代碼示例
- Ruby Converter.primitive_errinfo用法及代碼示例
- Ruby Config.get_value用法及代碼示例
- Ruby Context.echo?用法及代碼示例
- Ruby Context.echo_on_assignment用法及代碼示例
- Ruby Config.to_s用法及代碼示例
- Ruby Context.auto_indent_mode用法及代碼示例
- Ruby Converter.convert用法及代碼示例
- Ruby Converter.inspect用法及代碼示例
- Ruby Converter.insert_output用法及代碼示例
- Ruby ConditionVariable類用法及代碼示例
- Ruby Context.newline_before_multiline_output用法及代碼示例
- Ruby Converter.search_convpath用法及代碼示例
- Ruby Converter.last_error用法及代碼示例
- Ruby Converter.primitive_convert用法及代碼示例
- Ruby Context.newline_before_multiline_output?用法及代碼示例
- Ruby Converter.putback用法及代碼示例
- Ruby Context.echo用法及代碼示例
- Ruby Config.config[section]用法及代碼示例
- Ruby Converter.replacement用法及代碼示例
- Ruby Continuation.cont[args, ...]用法及代碼示例
注:本文由純淨天空篩選整理自ruby-lang.org大神的英文原創作品 Constructive.each。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。