Class: TOML::Table

Inherits:
Object show all
Defined in:
lib/toml/table.rb

Direct Known Subclasses

TableArray

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Table

Returns a new instance of Table.



5
6
7
# File 'lib/toml/table.rb', line 5

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

:name is array of strings



4
5
6
# File 'lib/toml/table.rb', line 4

def name
  @name
end