class Guard::Options

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

Public Class Methods

new(opts = {}, default_opts = {}) click to toggle source

Initializes an Guard::Options object. `default_opts` is merged into `opts`.

@param [Hash] opts the options @param [Hash] default_opts the default options

Calls superclass method
# File lib/guard/options.rb, line 13
def initialize(opts = {}, default_opts = {})
  super(default_opts.merge(opts || {}))
end