Module: Enumerable

Overview

This appears to be a modified version of Ruby's Enumerable module.

Notably missing is the include? method, but member? can be used instead.

Instance Method Summary collapse

Instance Method Details

#all?Boolean



5
6
# File 'lib/enumerable.rb', line 5

def all?
end

#any?Boolean



7
8
# File 'lib/enumerable.rb', line 7

def any?
end

#chunkObject

Since:

  • SketchUp 2014



11
12
# File 'lib/enumerable.rb', line 11

def chunk
end

#collectObject



14
15
# File 'lib/enumerable.rb', line 14

def collect
end

#collect_concatObject

Since:

  • SketchUp 2014



18
19
# File 'lib/enumerable.rb', line 18

def collect_concat
end

#countObject

Since:

  • SketchUp 2014



22
23
# File 'lib/enumerable.rb', line 22

def count
end

#cycleObject

Since:

  • SketchUp 2014



26
27
# File 'lib/enumerable.rb', line 26

def cycle
end

#detectObject



29
30
# File 'lib/enumerable.rb', line 29

def detect
end

#dropObject

Since:

  • SketchUp 2014



33
34
# File 'lib/enumerable.rb', line 33

def drop
end

#drop_whileObject

Since:

  • SketchUp 2014



37
38
# File 'lib/enumerable.rb', line 37

def drop_while
end

#each_consObject

Since:

  • SketchUp 2014



41
42
# File 'lib/enumerable.rb', line 41

def each_cons
end

#each_entryObject

Since:

  • SketchUp 2014



45
46
# File 'lib/enumerable.rb', line 45

def each_entry
end

#each_sliceObject

Since:

  • SketchUp 2014



49
50
# File 'lib/enumerable.rb', line 49

def each_slice
end

#each_with_indexObject



52
53
# File 'lib/enumerable.rb', line 52

def each_with_index
end

#each_with_objectObject

Since:

  • SketchUp 2014



56
57
# File 'lib/enumerable.rb', line 56

def each_with_object
end

#entriesObject



59
60
# File 'lib/enumerable.rb', line 59

def entries
end

#findObject



62
63
# File 'lib/enumerable.rb', line 62

def find
end

#find_allObject



65
66
# File 'lib/enumerable.rb', line 65

def find_all
end

#find_indexObject

Since:

  • SketchUp 2014



69
70
# File 'lib/enumerable.rb', line 69

def find_index
end

#firstObject

Since:

  • SketchUp 2014



73
74
# File 'lib/enumerable.rb', line 73

def first
end

#flat_mapObject

Since:

  • SketchUp 2014



77
78
# File 'lib/enumerable.rb', line 77

def flat_map
end

#grepObject



80
81
# File 'lib/enumerable.rb', line 80

def grep
end

#group_byObject

Since:

  • SketchUp 2014



84
85
# File 'lib/enumerable.rb', line 84

def group_by
end

#injectObject



87
88
# File 'lib/enumerable.rb', line 87

def inject
end

#lazyObject

Since:

  • SketchUp 2014



91
92
# File 'lib/enumerable.rb', line 91

def lazy
end

#mapObject



94
95
# File 'lib/enumerable.rb', line 94

def map
end

#maxObject



96
97
# File 'lib/enumerable.rb', line 96

def max
end

#max_byObject

Since:

  • SketchUp 2014



100
101
# File 'lib/enumerable.rb', line 100

def max_by
end

#member?Boolean



103
104
# File 'lib/enumerable.rb', line 103

def member?
end

#minObject



105
106
# File 'lib/enumerable.rb', line 105

def min
end

#min_byObject

Since:

  • SketchUp 2014



109
110
# File 'lib/enumerable.rb', line 109

def min_by
end

#minmaxObject

Since:

  • SketchUp 2014



113
114
# File 'lib/enumerable.rb', line 113

def minmax
end

#minmax_byObject

Since:

  • SketchUp 2014



117
118
# File 'lib/enumerable.rb', line 117

def minmax_by
end

#none?Boolean

Since:

  • SketchUp 2014



121
122
# File 'lib/enumerable.rb', line 121

def none?
end

#one?Boolean

Since:

  • SketchUp 2014



125
126
# File 'lib/enumerable.rb', line 125

def one?
end

#partitionObject



128
129
# File 'lib/enumerable.rb', line 128

def partition
end

#reduceObject

Since:

  • SketchUp 2014



132
133
# File 'lib/enumerable.rb', line 132

def reduce
end

#rejectObject



135
136
# File 'lib/enumerable.rb', line 135

def reject
end

#reverse_eachObject

Since:

  • SketchUp 2014



139
140
# File 'lib/enumerable.rb', line 139

def reverse_each
end

#selectObject



142
143
# File 'lib/enumerable.rb', line 142

def select
end

#slice_beforeObject

Since:

  • SketchUp 2014



146
147
# File 'lib/enumerable.rb', line 146

def slice_before
end

#sortObject



149
150
# File 'lib/enumerable.rb', line 149

def sort
end

#sort_byObject



151
152
# File 'lib/enumerable.rb', line 151

def sort_by
end

#takeObject

Since:

  • SketchUp 2014



155
156
# File 'lib/enumerable.rb', line 155

def take
end

#take_whileObject

Since:

  • SketchUp 2014



159
160
# File 'lib/enumerable.rb', line 159

def take_while
end

#to_aObject

Since:

  • SketchUp 2014



163
164
# File 'lib/enumerable.rb', line 163

def to_a
end

#zipObject



166
167
# File 'lib/enumerable.rb', line 166

def zip
end