Sha256: deaf0d3c4db33bf5d6bbf55ca3be7fa94277db698fd44f2b5646bf974c24f802

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

# Upgrading

# Upgrading from 0.1.0 to 0.2.0

You have to change

```
def _generate
  mk_chdir "level1" do
    mk_chdir "level2" do
      copy_file :zone_image
    end
  end
end
```

for a DirModel

```
class ImageDir
  include DirModel

  file :image, path: -> { "#{dir}/#{sub_dir}" }, name: -> { "#{image_name}.png" }
end
```
see the README

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dir_model-0.2.0 UPGRADE.md