Class: Bricky::Bricks::Rails

Inherits:
Base
  • Object
show all
Defined in:
lib/bricky/bricks/rails.rb

Instance Attribute Summary

Attributes inherited from Base

#config

Instance Method Summary collapse

Methods inherited from Base

#bootstrap, #initialize

Constructor Details

This class inherits a constructor from Bricky::Bricks::Base

Instance Method Details

#argumentsObject



4
5
6
# File 'lib/bricky/bricks/rails.rb', line 4

def arguments
  ["-v #{bricks_path}/rails:/bricks/rails"]
end

#entrypointObject



8
9
10
# File 'lib/bricky/bricks/rails.rb', line 8

def entrypoint
  "/bricks/rails/builder"
end

#environmentsObject



12
13
14
# File 'lib/bricky/bricks/rails.rb', line 12

def environments
  ["-e BRICKS_RAILS_ASSETS_PRECOMPILE='#{config.fetch('assets_precompile', false)}'"]
end