methods

get list of methods for given object or module


Parameters

methods object :object :module

Returns

  • :block

Examples

copy
define :cat [ init: method [nick][ this\nick: join.with: " " @["Mr." capitalize nick] ] meow: method [][ print [this\nick ":" "'meow!'"] ] ] snowflake: to :cat ["snowflake"] methods snowflake ; => [init meow]

Related