Class: Vue::Configuration::Generators
- Inherits:
-
Object
- Object
- Vue::Configuration::Generators
- Defined in:
- lib/vue/configuration.rb
Instance Attribute Summary collapse
-
#packs ⇒ Object
Returns the value of attribute packs.
-
#single_file_component ⇒ Object
Returns the value of attribute single_file_component.
-
#styles ⇒ Object
Returns the value of attribute styles.
-
#syntax ⇒ Object
Returns the value of attribute syntax.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Generators
constructor
A new instance of Generators.
Constructor Details
#initialize {|_self| ... } ⇒ Generators
Returns a new instance of Generators.
34 35 36 37 38 39 40 41 42 |
# File 'lib/vue/configuration.rb', line 34 def initialize @styles = ActiveSupport::OrderedOptions.new @styles.lang = :scss @styles.scoped = true @syntax = :es2015 @packs = true @single_file_component = true yield self if block_given? end |
Instance Attribute Details
#packs ⇒ Object
Returns the value of attribute packs.
32 33 34 |
# File 'lib/vue/configuration.rb', line 32 def packs @packs end |
#single_file_component ⇒ Object
Returns the value of attribute single_file_component.
32 33 34 |
# File 'lib/vue/configuration.rb', line 32 def single_file_component @single_file_component end |
#styles ⇒ Object
Returns the value of attribute styles.
32 33 34 |
# File 'lib/vue/configuration.rb', line 32 def styles @styles end |
#syntax ⇒ Object
Returns the value of attribute syntax.
32 33 34 |
# File 'lib/vue/configuration.rb', line 32 def syntax @syntax end |