Module: Krypt::ASN1::Template::ConstructedOfDefinitions
- Defined in:
- lib/krypt/asn1/template.rb
Instance Method Summary collapse
Instance Method Details
#asn1_type(type) ⇒ Object
250 251 252 253 254 |
# File 'lib/krypt/asn1/template.rb', line 250 def asn1_type(type) raise ArgumentError.new "Type must not be nil" if type == nil cur_def = instance_variable_get(:@definition) cur_def[:type] = type end |