mardi 12 juillet 2022

Ruby - Print all methods in each loop

How can I print all methods for network_sg in the following code? I'm not sure what methods are available.

Is it possible to print all methods ? It has Name but not sure what other methods are available.

network_sg = Azure::Armrest::Network::NetworkSecurityGroupService.new(conf)

network_sg.list(rg).each do |network_sg|
    $evm.log('info', "azure network_sg test is: #{network_sg.name} ")
end

Aucun commentaire:

Enregistrer un commentaire