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