Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/pushwagner/ext.rb
Instance Method Summary collapse
Instance Method Details
#trunc(sz) ⇒ Object
2 3 4 |
# File 'lib/pushwagner/ext.rb', line 2 def trunc(sz) self[0, sz] end |