Sha256: c0bd0126a6dc1b29ddb6d7bedccd2093ff4cedf03827bb472473b6fd6bd32e07

Contents?: true

Size: 193 Bytes

Versions: 11

Compression:

Stored size: 193 Bytes

Contents

module Hike
  class Extensions < NormalizedArray
    def normalize_element(extension)
      if extension[/^\./]
        extension
      else
        ".#{extension}"
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hike-0.5.1 lib/hike/extensions.rb
hike-0.5.0 lib/hike/extensions.rb
hike-0.4.0 lib/hike/extensions.rb
hike-0.3.0 lib/hike/extensions.rb
hike-0.2.0 lib/hike/extensions.rb
hike-0.1.5 lib/hike/extensions.rb
hike-0.1.4 lib/hike/extensions.rb
hike-0.1.3 lib/hike/extensions.rb
hike-0.1.2 lib/hike/extensions.rb
hike-0.1.1 lib/hike/extensions.rb
hike-0.1.0 lib/hike/extensions.rb