methods

get list of methods for given object


Parameters

methods object :object

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