Class: WhiskeyDisk::Config::AbstractFilter
- Inherits:
-
Object
- Object
- WhiskeyDisk::Config::AbstractFilter
- Defined in:
- lib/whiskey_disk/config/abstract_filter.rb
Direct Known Subclasses
AddEnvironmentNameFilter, AddProjectNameFilter, CheckForDuplicateDomainsFilter, ConvertRoleStringsToListFilter, DefaultConfigTargetFilter, DefaultDomainFilter, DropEmptyDomainRolesFilter, EnvironmentScopeFilter, HashifyDomainEntriesFilter, LocalizeDomainsFilter, NormalizeSshOptionsFilter, ProjectScopeFilter, SelectProjectAndEnvironmentFilter, StringifyHashKeysFilter
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #environment_name ⇒ Object
-
#initialize(config) ⇒ AbstractFilter
constructor
A new instance of AbstractFilter.
- #project_name ⇒ Object
Constructor Details
#initialize(config) ⇒ AbstractFilter
Returns a new instance of AbstractFilter.
6 7 8 |
# File 'lib/whiskey_disk/config/abstract_filter.rb', line 6 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/whiskey_disk/config/abstract_filter.rb', line 4 def config @config end |
Instance Method Details
#environment_name ⇒ Object
14 15 16 |
# File 'lib/whiskey_disk/config/abstract_filter.rb', line 14 def environment_name config.environment_name end |
#project_name ⇒ Object
10 11 12 |
# File 'lib/whiskey_disk/config/abstract_filter.rb', line 10 def project_name config.project_name end |