search for: second_class_method

Displaying 2 results from an estimated 2 matches for "second_class_method".

2006 Nov 04
0
traits-0.9.2 - better living through metaprogramming
...>========> ~ > cat sample/f.rb require ''traits'' # # as traits are defined they are remembered and can be accessed # class C class_trait :first_class_method trait :first_instance_method end class C class_trait :second_class_method trait :second_instance_method end # # readers and writers are remembered separatedly # p C::class_reader_traits p C::instance_writer_traits # # and can be gotten together at class or instance level # p C::class_traits p C::traits ~...
2006 Nov 04
0
traits-0.10.0
...>========> ~ > cat sample/f.rb require ''traits'' # # as traits are defined they are remembered and can be accessed # class C class_trait :first_class_method trait :first_instance_method end class C class_trait :second_class_method trait :second_instance_method end # # readers and writers are remembered separatedly # p C::class_reader_traits p C::instance_writer_traits # # and can be gotten together at class or instance level # p C::class_traits p C::traits ~...