Module: Decidim::Dev

Defined in:
decidim-dev/lib/decidim/dev.rb,
decidim-dev/lib/decidim/dev/railtie.rb

Overview

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.

Defined Under Namespace

Classes: Railtie

Class Method Summary collapse

Class Method Details

.asset(name) ⇒ Object

Public: Finds an asset.

Returns a String with the path for a particular asset.



14
15
16
# File 'decidim-dev/lib/decidim/dev.rb', line 14

def self.asset(name)
  File.expand_path(File.join(__dir__, "dev", "assets", name))
end