Skip to content

Commit 32cba83

Browse files
committed
Check the set of public instance methods available in Enumerable::Lazy.
1 parent 16b291c commit 32cba83

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
chunk
2+
chunk_while
3+
collect
4+
collect_concat
5+
drop
6+
drop_while
7+
enum_for
8+
filter
9+
find_all
10+
flat_map
11+
force
12+
grep
13+
grep_v
14+
lazy
15+
map
16+
reject
17+
select
18+
slice_after
19+
slice_before
20+
slice_when
21+
take
22+
take_while
23+
to_enum
24+
uniq
25+
zip

spec/truffle/methods_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. This
1+
# Copyright (c) 2017, 2019 Oracle and/or its affiliates. All rights reserved. This
22
# code is released under a tri EPL/GPL/LGPL license. You can use it,
33
# redistribute it and/or modify it under the terms of the:
44
#
@@ -19,7 +19,7 @@
1919
modules = [
2020
BasicObject, Kernel, Object,
2121
Module, Class,
22-
Enumerable, Enumerator, Range,
22+
Enumerable, Enumerator, Enumerator::Lazy, Range,
2323
Numeric, Integer, Float,
2424
Rational, Complex,
2525
Array, Hash, String,

0 commit comments

Comments
 (0)