Class: Unicode::Data::Validate::Mode::First

Inherits:
Object
  • Object
show all
Defined in:
lib/unicode/data/validate.rb

Overview

Just test the first value in the range of characters

Instance Method Summary collapse

Instance Method Details

#apply(values, &block) ⇒ Object



11
12
13
# File 'lib/unicode/data/validate.rb', line 11

def apply(values, &block)
  block.call(values.first)
end