Method: UltraSettings::Field#source
- Defined in:
- lib/ultra_settings/field.rb
#source(env: nil, settings: nil, yaml_config: nil) ⇒ Symbol?
Get the source for the field from the passed in state.
64 65 66 |
# File 'lib/ultra_settings/field.rb', line 64 def source(env: nil, settings: nil, yaml_config: nil) fetch_value_and_source(env: env, settings: settings, yaml_config: yaml_config).last end |