Sha256: 8c6d96dd7c5d144e39f9ddf396482dcde50842af0b9838259da3c7e9b017e315
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
require "fileutils" require "pathname" module Jorm class Folder attr_reader :path def initialize path @path = ::Pathname.new path end def normalized? Jorm.normalized? path.to_s end def normalize! return if normalized? FileUtils.mv path, Jorm.normalize_id(path.to_s) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jorm-0.0.1 | lib/jorm/folder.rb |