NAME
Rubyish::Object - the parent class of all classes in Rubyish
FUNCTIONS
new()
Not documented
__send__
Invokes method by string
package Animal;
use base Rubyish::Object;
def hello {
my ($self, $arg) = @_;
"hello, $arg.";
}
1;
my $dog = Animal->new;
print $dog->__send__("hello", "perl"); #=> "hello, perl."
to_yaml()
Not Documented
Return a list of names of methods
inpsect
Returns a string containing a human-readable representation of obj.
ancestors #=> ancestors Array
All ancestors this class inherit