Class: Dotsync::PushActionConfig

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

Direct Known Subclasses

WatchActionConfig

Constant Summary

Constants included from SyncMappings

SyncMappings::MAPPINGS_KEY, SyncMappings::SHORTHANDS, SyncMappings::SYNC_SECTION

Constants included from PathUtils

Dotsync::PathUtils::ENV_VARS_COLOR

Instance Method Summary collapse

Methods included from SyncMappings

#has_sync_mappings?, #sync_mappings_for_pull, #sync_mappings_for_push

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



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

def mappings
  section_mappings + sync_mappings_for_push
end