lib/oehclient/data/node.rb in oeh-client-0.2.4 vs lib/oehclient/data/node.rb in oeh-client-0.2.5
- old
+ new
@@ -19,11 +19,13 @@
end
# return the names of each of the attributes of the current nodes of the structure
def attribute_names()
name_collection = Array.new
- instance_variable_names.each { | structure_attribute | name_collection << structure_attribute.slice!(0)}
-
+ instance_variable_names.each do | structure_attribute |
+ structure_attribute.slice!(0)
+ name_collection << structure_attribute
+ end
name_collection
end # def attribute_names
private
\ No newline at end of file