Sha256: 86cb49d4fd9937cd830e0206b3077e01427f663b292c61ab8420f1dc60ca39c5

Contents?: true

Size: 153 Bytes

Versions: 33

Compression:

Stored size: 153 Bytes

Contents

module Relevance::CoreExtensions::File 
  def extension(path)
    extname(path)[1..-1]
  end
end

class File
  extend Relevance::CoreExtensions::File
end

Version data entries

33 entries across 33 versions & 5 rubygems

Version Path
relevance-tarantula-0.0.1 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.0.2 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.0.3 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.0.5 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.0.6 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.0.7.1 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.0.7 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.0.8.0 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.0.8.1 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.0 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.1 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.2 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.3 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.4 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.5 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.6 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.7 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.1.8 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.2.0 lib/relevance/core_extensions/file.rb
relevance-tarantula-0.2.1 lib/relevance/core_extensions/file.rb