Class: Erlang::Terms::List

Inherits:
Object
  • Object
show all
Defined in:
lib/rinterface/erlang/external_format.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(array) ⇒ List

Returns a new instance of List.



20
21
22
# File 'lib/rinterface/erlang/external_format.rb', line 20

def initialize(array)
  @data = array
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



19
20
21
# File 'lib/rinterface/erlang/external_format.rb', line 19

def data
  @data
end