It looks like you're new here. If you want to get involved, click one of these buttons!
How can I get information in manage technologies (for example information in Z stack) through Ruby scripting? I would like to use this information in a Ruby macro.
There is no interface for the Z stack information (I assume you mean 2.5d view). Z stack (in 0.28.x) is a Ruby script that is executed - you cannot parse that (easily).
If you want a consistent data model, define a common data source (e.g. some configuration file with the Z stack information in a format of your choice) and read that information inside the Z stack script plus from within the Ruby macro you are creating. So your configuration file is the single source of truth. The Z Stack will not be useful.