Sha256: 92e4174dc3f3b72a284fb347e9659c7f7f4b2fe3581a843dd390175a878a5f30

Contents?: true

Size: 238 Bytes

Versions: 3

Compression:

Stored size: 238 Bytes

Contents

class RailsImager::Config
  attr_reader :allowed_paths
  attr_accessor :path

  def initialize
    @allowed_paths = []
    @allowed_paths << Rails.public_path.to_s if Rails.public_path.to_s.present?

    @path = "/rails_imager"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_imager-0.0.30 lib/rails_imager/config.rb
rails_imager-0.0.29 lib/rails_imager/config.rb
rails_imager-0.0.28 lib/rails_imager/config.rb