method
width
v1_8_7_330 -
Show latest stable
- Class:
Scanf::FormatSpecifier
width()public
No documentation available.
# File lib/scanf.rb, line 472
def width
w = /%\*?(\d+)/.match(@spec_string).to_a[1]
w && w.to_i
end