From: Vadim Pirogov Date: 2011-12-10T20:39:13+09:00 Subject: Ruby module error How in ruby i can write module ? so we have: a=-4 b=-9 g = Math.sqrt(Math.Module(a))*(Math.Module(b)) def g(a, b) Math.sqrt(Math.Module(a))*(Math.Module(b)) end end when i write "puts g" i have a error. I try write Math.mod but nothing. "rb:4: undefined method `Module' for Math:Module (NoMethodError)" -- Posted via http://www.ruby-forum.com/.