Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/laser/standard_library/hash.rb,
lib/laser/standard_library/class_definitions.rb

Class Method Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Hash) initialize(default_obj = nil)

pure: true builtin: true yield_usage: optional



10
11
# File 'lib/laser/standard_library/hash.rb', line 10

def initialize(default_obj = nil)
end

Class Method Details

+ (Object) [](*args)

pure: true builtin: true returns: Hash=



5
6
# File 'lib/laser/standard_library/hash.rb', line 5

def self.[](*args)
end

Instance Method Details

- (Object) ==(other)

pure: true builtin: true



14
15
# File 'lib/laser/standard_library/hash.rb', line 14

def ==(other)
end

- (Object) [](key)

pure: true builtin: true



18
19
# File 'lib/laser/standard_library/hash.rb', line 18

def [](key)
end

- (Object) []=(key, value)

pure: true builtin: true



22
23
# File 'lib/laser/standard_library/hash.rb', line 22

def []=(key, value)
end

- (Object) assoc(obj)

pure: true builtin: true



26
27
# File 'lib/laser/standard_library/hash.rb', line 26

def assoc(obj)
end

- (Object) clear

pure: true builtin: true



30
31
# File 'lib/laser/standard_library/hash.rb', line 30

def clear
end

- (Object) compare_by_identity

pure: true builtin: true



34
35
# File 'lib/laser/standard_library/hash.rb', line 34

def compare_by_identity
end

- (Boolean) compare_by_identity?

pure: true builtin: true



38
39
# File 'lib/laser/standard_library/hash.rb', line 38

def compare_by_identity?
end

- (Object) default(key = nil)

pure: true builtin: true



42
43
# File 'lib/laser/standard_library/hash.rb', line 42

def default(key = nil)
end

- (Object) default=(obj)

pure: true builtin: true



46
47
# File 'lib/laser/standard_library/hash.rb', line 46

def default=(obj)
end

- (Object) default_proc

pure: true builtin: true



50
51
# File 'lib/laser/standard_library/hash.rb', line 50

def default_proc
end

- (Object) default_proc=(proc_obj)

pure: true builtin: true



54
55
# File 'lib/laser/standard_library/hash.rb', line 54

def default_proc=(proc_obj)
end

- (Object) delete(key)

pure: true builtin: true yield_usage: optional



59
60
# File 'lib/laser/standard_library/hash.rb', line 59

def delete(key)
end

- (Object) delete_if

pure: true builtin: true yield_usage: optional



64
65
# File 'lib/laser/standard_library/hash.rb', line 64

def delete_if
end

- (Object) each

pure: true builtin: true yield_usage: optional



69
70
# File 'lib/laser/standard_library/hash.rb', line 69

def each
end

- (Object) each_key

pure: true builtin: true yield_usage: optional



74
75
# File 'lib/laser/standard_library/hash.rb', line 74

def each_key
end

- (Object) each_pair

pure: true builtin: true yield_usage: optional



79
80
# File 'lib/laser/standard_library/hash.rb', line 79

def each_pair
end

- (Object) each_value

pure: true builtin: true yield_usage: optional



84
85
# File 'lib/laser/standard_library/hash.rb', line 84

def each_value
end

- (Boolean) empty?

pure: true builtin: true



88
89
# File 'lib/laser/standard_library/hash.rb', line 88

def empty?
end

- (Boolean) eql?(other)

pure: true builtin: true



92
93
# File 'lib/laser/standard_library/hash.rb', line 92

def eql?(other)
end

- (Object) fetch(key, default = nil)

pure: true builtin: true yield_usage: optional



97
98
# File 'lib/laser/standard_library/hash.rb', line 97

def fetch(key, default=nil)
end

- (Object) flatten(level = 1)

pure: true builtin: true



101
102
# File 'lib/laser/standard_library/hash.rb', line 101

def flatten(level=1)
end

- (Boolean) has_key?(key)

pure: true builtin: true



105
106
# File 'lib/laser/standard_library/hash.rb', line 105

def has_key?(key)
end

- (Boolean) has_value?(value)

pure: true builtin: true



109
110
# File 'lib/laser/standard_library/hash.rb', line 109

def has_value?(value)
end

- (Object) hash

pure: true builtin: true



113
114
# File 'lib/laser/standard_library/hash.rb', line 113

def hash
end

- (Boolean) include?(key)

pure: true builtin: true



117
118
# File 'lib/laser/standard_library/hash.rb', line 117

def include?(key)
end

- (Object) index

pure: true builtin: true



121
122
# File 'lib/laser/standard_library/hash.rb', line 121

def index
end

- (Object) inspect

pure: true builtin: true



125
126
# File 'lib/laser/standard_library/hash.rb', line 125

def inspect
end

- (Object) invert

pure: true builtin: true



129
130
# File 'lib/laser/standard_library/hash.rb', line 129

def invert
end

- (Object) keep_if

pure: true builtin: true yield_usage: optional



134
135
# File 'lib/laser/standard_library/hash.rb', line 134

def keep_if
end

- (Object) key(value)

pure: true builtin: true



138
139
# File 'lib/laser/standard_library/hash.rb', line 138

def key(value)
end

- (Boolean) key?(key)

pure: true builtin: true



142
143
# File 'lib/laser/standard_library/hash.rb', line 142

def key?(key)
end

- (Object) keys

pure: true builtin: true



146
147
# File 'lib/laser/standard_library/hash.rb', line 146

def keys
end

- (Object) length

pure: true builtin: true



150
151
# File 'lib/laser/standard_library/hash.rb', line 150

def length
end

- (Boolean) member?(key)

pure: true builtin: true



154
155
# File 'lib/laser/standard_library/hash.rb', line 154

def member?(key)
end

- (Object) merge(other)

pure: true builtin: true yield_usage: optional



159
160
# File 'lib/laser/standard_library/hash.rb', line 159

def merge(other)
end

- (Object) merge!(merge) Also known as: update

pure: true builtin: true yield_usage: optional



164
165
# File 'lib/laser/standard_library/hash.rb', line 164

def merge!(merge)
end

- (Object) rassoc(key)

pure: true builtin: true



169
170
# File 'lib/laser/standard_library/hash.rb', line 169

def rassoc(key)
end

- (Object) rehash

pure: true builtin: true



173
174
# File 'lib/laser/standard_library/hash.rb', line 173

def rehash
end

- (Object) reject

pure: true builtin: true yield_usage: optional



178
179
# File 'lib/laser/standard_library/hash.rb', line 178

def reject
end

- (Object) reject!

pure: true builtin: true yield_usage: optional



183
184
# File 'lib/laser/standard_library/hash.rb', line 183

def reject!
end

- (Object) replace(other_hash)

pure: true builtin: true



187
188
# File 'lib/laser/standard_library/hash.rb', line 187

def replace(other_hash)
end

- (Object) select

pure: true builtin: true yield_usage: optional



192
193
# File 'lib/laser/standard_library/hash.rb', line 192

def select
end

- (Object) select!

pure: true builtin: true yield_usage: optional



197
198
# File 'lib/laser/standard_library/hash.rb', line 197

def select!
end

- (Object) shift

pure: true builtin: true



201
202
# File 'lib/laser/standard_library/hash.rb', line 201

def shift
end

- (Object) size

pure: true builtin: true



205
206
# File 'lib/laser/standard_library/hash.rb', line 205

def size
end

- (Object) store(key, val)

pure: true builtin: true



209
210
# File 'lib/laser/standard_library/hash.rb', line 209

def store(key, val)
end

- (Object) to_a

pure: true builtin: true returns: Array=



214
215
# File 'lib/laser/standard_library/hash.rb', line 214

def to_a
end

- (Object) to_hash

pure: true builtin: true



218
219
# File 'lib/laser/standard_library/hash.rb', line 218

def to_hash
end

- (Object) to_s

pure: true builtin: true returns: String=



223
224
# File 'lib/laser/standard_library/hash.rb', line 223

def to_s
end

- (Boolean) value?(value)

pure: true builtin: true



227
228
# File 'lib/laser/standard_library/hash.rb', line 227

def value?(value)
end

- (Object) values

pure: true builtin: true



231
232
# File 'lib/laser/standard_library/hash.rb', line 231

def values
end

- (Object) values_at(*keys)

pure: true builtin: true



235
236
# File 'lib/laser/standard_library/hash.rb', line 235

def values_at(*keys)
end