Libraries
»
h8
(0.5.4)
»
Index (S)
»
String
Class: String
Inherits:
Object
Object
String
show all
Defined in:
lib/h8/context.rb
Instance Method Summary
collapse
#
indexOf
(item) ⇒ Object
Instance Method Details
#
indexOf
(item) ⇒
Object
26 27 28
# File 'lib/h8/context.rb', line 26
def
indexOf
item
index
(
item
)
||
-
1
end