matthew-method_lister 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/README.markdown +60 -61
  2. metadata +1 -1
data/README.markdown CHANGED
@@ -23,9 +23,8 @@ Get the gem:
23
23
 
24
24
  # Install the gem
25
25
  sudo gem install matthew-method_lister
26
-
27
- Build the gem:
28
26
 
27
+ # Otherwise, build the gem and install it
29
28
  rake gem
30
29
  sudo gem install pkg/*.gem
31
30
 
@@ -46,76 +45,76 @@ vary, depending on what you have loaded):
46
45
 
47
46
  >> [].ls
48
47
  ========== Module Kernel ==========
49
- PUBLIC: inspect clone method public_methods instance_variable_defined?
50
- equal? which freeze grep mgrep methods respond_to? dup instance_variables
51
- __id__ object_id eql? require id singleton_methods send taint frozen?
52
- instance_variable_get __send__ instance_of? mls to_a type mwhich
53
- protected_methods instance_eval == display === ls instance_variable_set
54
- kind_of? extend to_s gem hash pretty_inspect class tainted? =~
55
- private_methods nil? untaint is_a?
48
+ PUBLIC: == === =~ __id__ __send__ class clone display dup eql? equal?
49
+ extend freeze frozen? gem grep hash id inspect instance_eval instance_of?
50
+ instance_variable_defined? instance_variable_get instance_variable_set
51
+ instance_variables is_a? kind_of? ls method methods mgrep mls mwhich nil?
52
+ object_id pretty_inspect private_methods protected_methods public_methods
53
+ require respond_to? send singleton_methods taint tainted? to_a to_s type
54
+ untaint which
56
55
 
57
56
  ========== Module PP::ObjectMixin ==========
58
- PUBLIC: pretty_print_instance_variables pretty_print_inspect pretty_print
59
- pretty_print_cycle
57
+ PUBLIC: pretty_print pretty_print_cycle pretty_print_inspect
58
+ pretty_print_instance_variables
60
59
 
61
60
  ========== Module Enumerable ==========
62
- PUBLIC: find_all sort_by collect include? detect max sort partition any?
63
- to_a reject zip find min member? entries inject all? select
64
- each_with_index grep map
61
+ PUBLIC: all? any? collect detect each_with_index entries find find_all
62
+ grep include? inject map max member? min partition reject select sort
63
+ sort_by to_a zip
65
64
 
66
65
  ========== Class Array ==========
67
- PUBLIC: delete_if & map! empty? indexes rindex reject last to_s assoc
68
- reverse! sort each include? values_at slice * sort! each_index fetch +
69
- clear pretty_print concat size join flatten! shift - eql? reverse to_ary
70
- insert [] indices nitems inspect rassoc replace compact! []= | collect
71
- push delete_at << frozen? reverse_each flatten hash collect! uniq! select
72
- first to_a fill index reject! zip pack unshift compact transpose <=>
73
- pretty_print_cycle at == slice! length uniq delete pop map
66
+ PUBLIC: & * + - << <=> == [] []= assoc at clear collect collect! compact
67
+ compact! concat delete delete_at delete_if each each_index empty? eql?
68
+ fetch fill first flatten flatten! frozen? hash include? index indexes
69
+ indices insert inspect join last length map map! nitems pack pop
70
+ pretty_print pretty_print_cycle push rassoc reject reject! replace reverse
71
+ reverse! reverse_each rindex select shift size slice slice! sort sort!
72
+ to_a to_ary to_s transpose uniq uniq! unshift values_at zip |
74
73
 
75
74
  You can show protected and private methods too by passing in "true":
76
75
 
77
76
  >> [].ls true
78
77
  ========== Module Kernel ==========
79
- PUBLIC: inspect clone method public_methods instance_variable_defined?
80
- equal? which freeze grep mgrep methods respond_to? dup instance_variables
81
- __id__ object_id eql? require id singleton_methods send taint frozen?
82
- instance_variable_get __send__ instance_of? mls to_a type mwhich
83
- protected_methods instance_eval == display === ls instance_variable_set
84
- kind_of? extend to_s gem hash pretty_inspect class tainted? =~
85
- private_methods nil? untaint is_a?
86
-
87
- PRIVATE: select global_variables readline warn singleton_method_added gsub
88
- exit! method_missing exec abort load chomp! remove_instance_variable print
89
- eval proc untrace_var srand Integer local_variables
90
- singleton_method_removed readlines raise chop getc gem_original_require
91
- system at_exit putc set_trace_func rand test lambda Float p
92
- initialize_copy singleton_method_undefined chomp fail callcc sub! syscall
93
- sleep iterator? catch autoload puts ` pp String sprintf split caller gsub!
94
- open block_given? throw URI gets trap sub loop Array fork format exit
95
- chop! printf binding autoload? scan trace_var
78
+ PUBLIC: == === =~ __id__ __send__ class clone display dup eql? equal?
79
+ extend freeze frozen? gem grep hash id inspect instance_eval instance_of?
80
+ instance_variable_defined? instance_variable_get instance_variable_set
81
+ instance_variables is_a? kind_of? ls method methods mgrep mls mwhich nil?
82
+ object_id pretty_inspect private_methods protected_methods public_methods
83
+ require respond_to? send singleton_methods taint tainted? to_a to_s type
84
+ untaint which
85
+
86
+ PRIVATE: Array Float Integer String URI ` abort at_exit autoload autoload?
87
+ binding block_given? callcc caller catch chomp chomp! chop chop! eval exec
88
+ exit exit! fail fork format gem_original_require getc gets
89
+ global_variables gsub gsub! initialize_copy iterator? lambda load
90
+ local_variables loop method_missing open p pp print printf proc putc puts
91
+ raise rand readline readlines remove_instance_variable scan select
92
+ set_trace_func singleton_method_added singleton_method_removed
93
+ singleton_method_undefined sleep split sprintf srand sub sub! syscall
94
+ system test throw trace_var trap untrace_var warn
96
95
 
97
96
  ========== Module PP::ObjectMixin ==========
98
- PUBLIC: pretty_print_instance_variables pretty_print_inspect pretty_print
99
- pretty_print_cycle
97
+ PUBLIC: pretty_print pretty_print_cycle pretty_print_inspect
98
+ pretty_print_instance_variables
100
99
 
101
100
  ========== Class Object ==========
102
- PRIVATE: initialize timeout irb_binding
101
+ PRIVATE: initialize irb_binding timeout
103
102
 
104
103
  ========== Module Enumerable ==========
105
- PUBLIC: find_all sort_by collect include? detect max sort partition any?
106
- to_a reject zip find min member? entries inject all? select
107
- each_with_index grep map
104
+ PUBLIC: all? any? collect detect each_with_index entries find find_all
105
+ grep include? inject map max member? min partition reject select sort
106
+ sort_by to_a zip
108
107
 
109
108
  ========== Class Array ==========
110
- PUBLIC: delete_if & map! empty? indexes rindex reject last to_s assoc
111
- reverse! sort each include? values_at slice * sort! each_index fetch +
112
- clear pretty_print concat size join flatten! shift - eql? reverse to_ary
113
- insert [] indices nitems inspect rassoc replace compact! []= | collect
114
- push delete_at << frozen? reverse_each flatten hash collect! uniq! select
115
- first to_a fill index reject! zip pack unshift compact transpose <=>
116
- pretty_print_cycle at == slice! length uniq delete pop map
117
-
118
- PRIVATE: initialize_copy initialize
109
+ PUBLIC: & * + - << <=> == [] []= assoc at clear collect collect! compact
110
+ compact! concat delete delete_at delete_if each each_index empty? eql?
111
+ fetch fill first flatten flatten! frozen? hash include? index indexes
112
+ indices insert inspect join last length map map! nitems pack pop
113
+ pretty_print pretty_print_cycle push rassoc reject reject! replace reverse
114
+ reverse! reverse_each rindex select shift size slice slice! sort sort!
115
+ to_a to_ary to_s transpose uniq uniq! unshift values_at zip |
116
+
117
+ PRIVATE: initialize initialize_copy
119
118
 
120
119
  `grep` or `mgrep`
121
120
  -----------------
@@ -126,29 +125,29 @@ objects `grep` is already taken:
126
125
 
127
126
  >> [].mgrep /f/
128
127
  ========== Module Kernel ==========
129
- PUBLIC: instance_variable_defined? freeze frozen? instance_of? kind_of?
128
+ PUBLIC: freeze frozen? instance_of? instance_variable_defined? kind_of?
130
129
 
131
130
  ========== Module Enumerable ==========
132
- PUBLIC: find_all find
131
+ PUBLIC: find find_all
133
132
 
134
133
  ========== Class Array ==========
135
- PUBLIC: delete_if fetch flatten! shift frozen? flatten first fill unshift
134
+ PUBLIC: delete_if fetch fill first flatten flatten! frozen? shift unshift
136
135
 
137
136
  Similar to `ls` you can pass in an extra argument of "true" to see protected
138
137
  and private methods:
139
138
 
140
139
  >> [].mgrep /f/, true
141
140
  ========== Module Kernel ==========
142
- PUBLIC: instance_variable_defined? freeze frozen? instance_of? kind_of?
141
+ PUBLIC: freeze frozen? instance_of? instance_variable_defined? kind_of?
143
142
 
144
- PRIVATE: method_missing set_trace_func singleton_method_undefined fail
145
- sprintf fork format printf
143
+ PRIVATE: fail fork format method_missing printf set_trace_func
144
+ singleton_method_undefined sprintf
146
145
 
147
146
  ========== Module Enumerable ==========
148
- PUBLIC: find_all find
147
+ PUBLIC: find find_all
149
148
 
150
149
  ========== Class Array ==========
151
- PUBLIC: delete_if fetch flatten! shift frozen? flatten first fill unshift
150
+ PUBLIC: delete_if fetch fill first flatten flatten! frozen? shift unshift
152
151
 
153
152
  Note that `method_missing` is always considered a match, since it could always
154
153
  potentially execute.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matthew-method_lister
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew O'Connor