Class: Dotsync::PushActionConfig

Inherits:
BaseConfig show all
Defined in:
lib/dotsync/config/push_action_config.rb

Direct Known Subclasses

WatchActionConfig

Constant Summary

Constants included from PathUtils

Dotsync::PathUtils::ENV_VARS_COLOR

Instance Method Summary collapse

Methods inherited from BaseConfig

#initialize, #to_h

Methods included from PathUtils

#colorize_env_vars, #expand_env_vars, #extract_env_vars, #path_is_parent_or_same?, #relative_to_absolute, #sanitize_path, #translate_tmp_path

Constructor Details

This class inherits a constructor from Dotsync::BaseConfig

Instance Method Details

#mappingsObject



5
6
7
8
# File 'lib/dotsync/config/push_action_config.rb', line 5

def mappings
  mappings_list = section["mappings"]
  Array(mappings_list).map { |mapping| Dotsync::Mapping.new(mapping) }
end