Module: VueApp::Core::Helpers::Build
- Included in:
- Builders::JsBuilder, Builders::ScssBuilder, Builders::SlimBuilder
- Defined in:
- lib/vueapp/core/helpers/build.rb
Overview
Add build method related to @env
Instance Method Summary collapse
-
#build ⇒ Object
Build method.
Instance Method Details
#build ⇒ Object
Build method
10 11 12 13 14 15 16 17 18 |
# File 'lib/vueapp/core/helpers/build.rb', line 10 def build case @env when :production then build_production when :development then build_dev when :test then build_test else build_dev end end |