Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::ASN1::Constructive#each

asn1_ary.each { |asn1| block } => asn1_ary

Calls the given block once for each element in self, passing that element as parameter asn1. If no block is given, an enumerator is returned instead.

Example

Example
asn1_ary.each do |asn1|
  puts asn1
end
See also .new #to_der also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1