I want to get all the methods that are defined directly for the class
Here is what I am doing now:
class Mine def immediate end (instance_methods - ancestors.second.instance_methods) # [:immediate] end
Is there a better way?
Mine.instance_methods false
It's good? or how do you like it? something like Mine.my_instance_methods? :)
Source: https://habr.com/ru/post/1415056/More articles:Using Entity Framework 4.3 migration without depending on the actual database - .netturning point Labels incl. and off in jqplot - jqplotAudioOutputUnitStart is very slow - c ++Disabling sound effects and tactile feedback for the menu button - androidHow to insert extracted rows into another table using ssis - sql-serverHow do I push a new pair of key values ββinto a php array? - arraysIn MySQL, how to select empty records - outer-joinHow to start unit test playback platform in eclipse - javaIn WinDbg, can I use software breakpoints without characters? - debuggingHow to use XSLT 1.0 to add structure to a non-hierarchical XML file? - xmlAll Articles