Class: AnnFlavorCore::DartDefines

Inherits:
Struct
  • Object
show all
Defined in:
lib/vendor/ann_flavor_core/lib/ann_flavor_core/model.rb

Overview

── dart_defines ────────────────────────────────────────────────────────────

compile/run/deploy are reserved action-scope sub-keys (REQ-DDEF-00015). common holds keys declared directly under dart_defines — they apply to every action. Each action Hash is resolved as an addition on top of common, never a replacement.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#commonObject

Returns the value of attribute common

Returns:

  • (Object)

    the current value of common



8
9
10
# File 'lib/vendor/ann_flavor_core/lib/ann_flavor_core/model.rb', line 8

def common
  @common
end

#compileObject

Returns the value of attribute compile

Returns:

  • (Object)

    the current value of compile



8
9
10
# File 'lib/vendor/ann_flavor_core/lib/ann_flavor_core/model.rb', line 8

def compile
  @compile
end

#deployObject

Returns the value of attribute deploy

Returns:

  • (Object)

    the current value of deploy



8
9
10
# File 'lib/vendor/ann_flavor_core/lib/ann_flavor_core/model.rb', line 8

def deploy
  @deploy
end

#runObject

Returns the value of attribute run

Returns:

  • (Object)

    the current value of run



8
9
10
# File 'lib/vendor/ann_flavor_core/lib/ann_flavor_core/model.rb', line 8

def run
  @run
end

Class Method Details

.defaultsObject



9
# File 'lib/vendor/ann_flavor_core/lib/ann_flavor_core/model.rb', line 9

def self.defaults = new(common: {}, compile: {}, run: {}, deploy: {})