27 28 29 30 31 32 33 34 35
# File 'lib/logick.rb', line 27 def self.run(atts) scrivener = new(atts) if !scrivener.valid? throw(:fail, Result.new(type: :fail, errors: scrivener.errors)) end scrivener.run end