lib/sugar-high/methods.rb in sugar-high-0.6.3 vs lib/sugar-high/methods.rb in sugar-high-0.7.0
- old
+ new
@@ -1,5 +1,5 @@
-class Object
+class Object
def get_methods *types
types.inject([]) do |list, type|
list << case type
when :all
get_methods(:private, :protected, :public)
\ No newline at end of file