Grape Class
The global Grape object containing the built-in classes.
Methods
Class
(
static
-
[name]
-
[parents]
-
methods
Creates a class by optionally copying prototype methods of one or more class.
Parameters:
-
[name]
String optionalThe name of the class (mainly for debugging purposes)
-
[parents]
Array | Class optionalParent class or classes
-
methods
ObjectAn object containing methods. If method name contains space, the keyword parts are parsed and keyword specific tasks are executed.
Returns:
:
Properties
version
String
static
The version of the current Grape library