Method: Eapi::DefinitionRunners::Runner.allow_raw

Defined in:
lib/eapi/definition_runners/runner.rb

.allow_raw(klass:, field:, allow_raw:) ⇒ Object



59
60
61
62
63
64
65
# File 'lib/eapi/definition_runners/runner.rb', line 59

def self.allow_raw(klass:, field:, allow_raw:)
  if allow_raw
    klass.send :property_allow_raw, field
  else
    klass.send :property_disallow_raw, field
  end
end