Hi Everyone,

I have the following two functions in "global_functions.rb",

# Decription : Function to get minimum between two input values

# Input : x & y - any two number

# Output : Minimum number of 2 input values

def self.getMinimumValue(x, y)

if(x <= y)

@min_value = x

else

@min_value = y

end

return @min_value

end

# Decription : Function to get maximum between two input values

# Input : x & y - any two number

# Output : Maximum number of 2 input values

def self.getMaximumValue(x, y)

if(x >= y)

@max_value = x

else

@max_value = y

end

return @max_value

end

So, If i try to access "getMaximumValue" like

GlobalFunctions.getMaximumValue it shows an error like "undefined method

`getMaximumValue` for GlobalFunctions:Class".

However, if i remove "getMaximumValue" from that file and have only

"getMinimumValue" then its working fine. I dont know how this is

working. Is there any function limit for a Lib class?

Please help me out of this problem.

Thanks in advance.

Regards,

VASANTH