lib/local_pac/file.rb in local_pac-0.2.0 vs lib/local_pac/file.rb in local_pac-0.2.1

- old
+ new

@@ -11,10 +11,10 @@ attr_reader :path, :name, :content def initialize(path, content = '') @path = path @extension = ::File.extname(path) - @name = path.sub(/\..*$/, '').camelize.downcase.to_sym + @name = path.sub(/\.[^.]+$/, '').gsub(%r{/}, '::').downcase.to_sym @content = content end def nil? false