Module: Fetch::String
- Included in:
- String
- Defined in:
- lib/mightystring/string_fetch.rb
Instance Method Summary collapse
-
#fetch(x) ⇒ Object
Fetch position in String.
Instance Method Details
#fetch(x) ⇒ Object
Fetch position in String
9 10 11 |
# File 'lib/mightystring/string_fetch.rb', line 9 def fetch(x) return self[x] end |