Method: OEHClient::Data::Node#attribute_names
- Defined in:
- lib/oehclient/data/node.rb
#attribute_names ⇒ Object
return the names of each of the attributes of the current nodes of the structure
22 23 24 25 26 27 28 29 |
# File 'lib/oehclient/data/node.rb', line 22 def attribute_names() name_collection = Array.new instance_variable_names.each do | structure_attribute | structure_attribute.slice!(0) name_collection << structure_attribute end name_collection end |