Sha256: ce6560255daecaf3b5f9135d51af510b649376d7c4fcb663edf6aeef9fcfd1d7

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

module PointRb
  module Actions
    class InitializePointRb
      def initialize(app)
        @app = app
      end

      def call(env)
        FileUtils.mkdir_p env.layout_directory

        @app.call(env)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pointrb-0.1.2 lib/pointrb/actions/initialize_pointrb.rb
pointrb-0.1.1 lib/pointrb/actions/initialize_pointrb.rb
pointrb-0.1.0 lib/pointrb/actions/initialize_pointrb.rb