Class: StringIO
- Inherits:
-
Object
- Object
- StringIO
- Defined in:
- lib/osc.rb
Instance Method Summary collapse
Instance Method Details
#skip(n) ⇒ Object
24 25 26 |
# File 'lib/osc.rb', line 24 def skip(n) self.seek(n, IO::SEEK_CUR) end |
#skip_padding ⇒ Object
27 28 29 |
# File 'lib/osc.rb', line 27 def skip_padding self.skip((4-pos)%4) end |