Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/hyla/core_ext.rb
Instance Method Summary collapse
-
#initial ⇒ Object
Get the first position.
Instance Method Details
#initial ⇒ Object
Get the first position
30 31 32 |
# File 'lib/hyla/core_ext.rb', line 30 def initial self[0,1] end |