Sha256: 214dfa6e33b43b9cb2c5c897fe04bd87d1d6bfbe5253dcc40d917a3a6330e580

Contents?: true

Size: 97 Bytes

Versions: 15

Compression:

Stored size: 97 Bytes

Contents

module Utils
  extend ActiveSupport::Concern

  def mkdir
    FileUtils.mkdir_p(yield)
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dir_model-0.7.1 lib/dir_model/utils.rb
dir_model-0.7.0 lib/dir_model/utils.rb
dir_model-0.6.2 lib/dir_model/utils.rb
dir_model-0.6.1 lib/dir_model/utils.rb
dir_model-0.6.0 lib/dir_model/utils.rb
dir_model-0.5.2 lib/dir_model/utils.rb
dir_model-0.5.1 lib/dir_model/utils.rb
dir_model-0.5.0 lib/dir_model/utils.rb
dir_model-0.4.0 lib/dir_model/utils.rb
dir_model-0.3.4 lib/dir_model/utils.rb
dir_model-0.3.3 lib/dir_model/utils.rb
dir_model-0.3.2 lib/dir_model/utils.rb
dir_model-0.3.1 lib/dir_model/utils.rb
dir_model-0.3.0 lib/dir_model/utils.rb
dir_model-0.2.0 lib/dir_model/utils.rb