static public Method

RVG.fmsg(*args)

Convert an array of method arguments to Float objects. If any cannot be converted, raise ArgumentError and issue a message.

Source Code

# File rvg/misc.rb, line 42
def self.fmsg(*args)
    "at least one argument cannot be converted to Float (got #{args.collect {|a| a.class}.join(', ')})"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.