Class: WhiskeyDisk::Config::AbstractFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/whiskey_disk/config/abstract_filter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#configObject (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_nameObject


14
15
16
# File 'lib/whiskey_disk/config/abstract_filter.rb', line 14

def environment_name
  config.environment_name
end

#project_nameObject


10
11
12
# File 'lib/whiskey_disk/config/abstract_filter.rb', line 10

def project_name
  config.project_name
end