Sha256: 11c6c207a18e8932d58ddb65a0098d72a9ed9f5e3977d54cd3b98ea85b602ab6

Contents?: true

Size: 572 Bytes

Versions: 6

Compression:

Stored size: 572 Bytes

Contents

# frozen_string_literal: true

require "letter_opener_web"
require "decidim/dev/railtie"

module Decidim
  # Decidim::Dev holds all the convenience logic and libraries to be able to
  # create external libraries that create test apps and test themselves against
  # them.
  module Dev
    # Public: Finds an asset.
    #
    # Returns a String with the path for a particular asset.
    def self.asset(name)
      File.expand_path(
        File.join(
          File.dirname(__FILE__),
          "dev",
          "assets",
          name
        )
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
decidim-dev-0.2.0 lib/decidim/dev.rb
decidim-0.2.0 decidim-dev/lib/decidim/dev.rb
decidim-dev-0.1.0 lib/decidim/dev.rb
decidim-0.1.0 decidim-dev/lib/decidim/dev.rb
decidim-dev-0.0.8.1 lib/decidim/dev.rb
decidim-0.0.8.1 decidim-dev/lib/decidim/dev.rb