Sha256: afd832d95959001a0648d97e47fa9c441e2683e5d630277493dbfa8a145bff01
Contents?: true
Size: 437 Bytes
Versions: 2
Compression:
Stored size: 437 Bytes
Contents
#### Instance and Singleton Methods This example shows a custom handler that explicates via both kinds of methods. Here's a class ```Foo``` that has instance methods and singleton methods: @[ruby](foo.rb) Here's its custom debug handler class ```FooHandler```. @[ruby](foo_handler.rb) Here's a program that uses the custom handler. @[ruby](show.rb) The output shows details of the object. @[yaml](show.yaml)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
debug_helper-2.1.0 | markdown/readme/classes/custom/both/template.md |
debug_helper-2.0.0 | markdown/readme/classes/custom/both/template.md |