Class: RASN1::Model::WrapElem

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

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



93
94
95
# File 'lib/rasn1/model.rb', line 93

def element
  @element
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



93
94
95
# File 'lib/rasn1/model.rb', line 93

def options
  @options
end

Instance Method Details

#nameString

Returns:

  • (String)


95
96
97
# File 'lib/rasn1/model.rb', line 95

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