Class: Referee::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/referee/configuration.rb

Overview

Configuration container.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Configuration

Returns a new instance of Configuration.



7
8
9
10
11
# File 'lib/referee/configuration.rb', line 7

def initialize(config)
  config.each do |key, value|
    send("#{key}=", value)
  end
end

Instance Attribute Details

#bundle_idObject

Returns the value of attribute bundle_id.



4
5
6
# File 'lib/referee/configuration.rb', line 4

def bundle_id
  @bundle_id
end

#error_on_missing_storyboard_idsObject

Returns the value of attribute error_on_missing_storyboard_ids.



4
5
6
# File 'lib/referee/configuration.rb', line 4

def error_on_missing_storyboard_ids
  @error_on_missing_storyboard_ids
end

#languageObject

Returns the value of attribute language.



4
5
6
# File 'lib/referee/configuration.rb', line 4

def language
  @language
end

#outputObject

Returns the value of attribute output.



4
5
6
# File 'lib/referee/configuration.rb', line 4

def output
  @output
end

#prefixObject

Returns the value of attribute prefix.



4
5
6
# File 'lib/referee/configuration.rb', line 4

def prefix
  @prefix
end

#projectObject

Returns the value of attribute project.



4
5
6
# File 'lib/referee/configuration.rb', line 4

def project
  @project
end

#verboseObject

Returns the value of attribute verbose.



4
5
6
# File 'lib/referee/configuration.rb', line 4

def verbose
  @verbose
end