Sha256: 4a261d877b247bb3845596a1ffeed02e90368450900bf48b69cc577dcb691c45
Contents?: true
Size: 226 Bytes
Versions: 3
Compression:
Stored size: 226 Bytes
Contents
require 'hike/normalized_array' module Hike class Extensions < NormalizedArray def normalize_element(extension) if extension[/^\./] extension else ".#{extension}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hike-0.7.1 | lib/hike/extensions.rb |
hike-0.7.0 | lib/hike/extensions.rb |
hike-0.6.0 | lib/hike/extensions.rb |