Flowdock
method

mid_match?

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: Scanf::FormatSpecifier
mid_match?() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/scanf.rb, line 477
    def mid_match?
      return false unless @matched
      cc_no_width    = letter == '[' &&! width
      c_or_cc_width  = (letter == 'c' || letter == '[') && width
      width_left     = c_or_cc_width && (matched_string.size < width)

      return width_left || cc_no_width
    end
Register or log in to add new notes.