class RSchema::Options

Settings, passed in as an argument when calling schemas

Public Class Methods

default() click to toggle source
# File lib/rschema/options.rb, line 8
def self.default
  @default ||= new
end
fail_fast() click to toggle source
# File lib/rschema/options.rb, line 12
def self.fail_fast
  @fail_fast ||= new(fail_fast: true)
end
new(fail_fast: false) click to toggle source
# File lib/rschema/options.rb, line 16
def initialize(fail_fast: false)
  @fail_fast = fail_fast
end

Public Instance Methods

fail_fast?() click to toggle source
# File lib/rschema/options.rb, line 20
def fail_fast?
  @fail_fast
end