Sha256: bff5374cb196a1215f9fcd43bcafc5040f685b79faf3b9df3b542163ecb79b73

Contents?: true

Size: 223 Bytes

Versions: 7

Compression:

Stored size: 223 Bytes

Contents

module HaveAPI::Fs::Components
  class SaveInstance < Executable
    def initialize(resource_dir, *args)
      super(*args)
      @resource_dir = resource_dir
    end
    def exec
      @resource_dir.save
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
haveapi-fs-0.11.0 lib/haveapi/fs/components/save_instance.rb
haveapi-fs-0.10.0 lib/haveapi/fs/components/save_instance.rb
haveapi-fs-0.9.0 lib/haveapi/fs/components/save_instance.rb
haveapi-fs-0.8.0 lib/haveapi/fs/components/save_instance.rb
haveapi-fs-0.7.1 lib/haveapi/fs/components/save_instance.rb
haveapi-fs-0.7.0 lib/haveapi/fs/components/save_instance.rb
haveapi-fs-0.1.0 lib/haveapi/fs/components/save_instance.rb