class Guard::Options


A class that holds options. Can be instantiated with default options.

def initialize(opts = {}, default_opts = {})

Parameters:
  • default_opts (Hash) -- the default options
  • opts (Hash) -- the options
def initialize(opts = {}, default_opts = {})
  super(default_opts.merge(opts || {}))
end