Module: Quby::LookupTableRepo

Defined in:
lib/quby/lookup_table_repo.rb

Defined Under Namespace

Classes: Disk

Class Method Summary collapse

Class Method Details

.validate_key(key) ⇒ Object



6
7
8
# File 'lib/quby/lookup_table_repo.rb', line 6

def self.validate_key(key)
  raise 'invalid key' unless key =~ /\A[a-z][a-z_0-9]{1,50}\z/
end