Revision 6329d8b3 src/oca/ruby/OpenNebula/User.rb

View differences:

src/oca/ruby/OpenNebula/User.rb
89 89
            return rc
90 90
        end
91 91

  
92
        # ---------------------------------------------------------------------
93
        # Helpers to get User information
94
        # ---------------------------------------------------------------------
95

  
96
        # Returns the group identifier
97
        # [return] _Integer_ the element's group ID
98
        def gid
99
            self['GID'].to_i
100
        end
101

  
92 102
    end
93 103
end

Also available in: Unified diff