Class: RASN1::Model::WrapElem

Inherits:
Struct
  • Object
show all
Defined in:
lib/rasn1/model.rb

Overview

Since:

  • 0.17 block notation

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#elementObject

Returns the value of attribute element

Returns:

  • (Object)

    the current value of element



125
126
127
# File 'lib/rasn1/model.rb', line 125

def element
  @element
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



125
126
127
# File 'lib/rasn1/model.rb', line 125

def options
  @options
end

Instance Method Details

#nameSymbol

Returns:

  • (Symbol)

Since:

  • 0.17 block notation



127
128
129
# File 'lib/rasn1/model.rb', line 127

def name
  :"#{element.name}_wrapper"
end