class Fortress::Configuration
Fortress
configuration management class
@author zedtux
Attributes
options[R]
Public Instance Methods
externals=(value)
click to toggle source
# File lib/fortress/configuration.rb, line 27 def externals=(value) return unless value @options = { externals: externals_from(value) } end
Private Instance Methods
externals_from(value)
click to toggle source
# File lib/fortress/configuration.rb, line 35 def externals_from(value) case when value.is_a?(String) then [value] when value.is_a?(Array) then value end end