Sha256: 511597748007ea7cc5c12794dacf4923ef56a9bb5eceee8a2339c3e928361944

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

# TODO This only exists because we're not loading engines as part of `bin/super-scaffold` right now, otherwise we
# would do it as part of the engine initializer.
module BulletTrain
  module SuperScaffolding
    module Templates
      class PathHelper
        def root_path
          @root_path ||= Pathname.new(File.expand_path('../../../../..', __FILE__))
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-templates-1.0.3 lib/bullet_train/super_scaffolding/templates/path_helper.rb