Method: HOC::Base#initialize
- Defined in:
- lib/hoc.rb
#initialize(opts) ⇒ Base
Ctor.
opts-
Options
36 37 38 39 40 41 |
# File 'lib/hoc.rb', line 36 def initialize(opts) @dir = opts[:dir] raise 'only "int" format is supported now' unless opts[:format].nil? || opts[:format] == 'int' @exclude = opts[:exclude].nil? ? [] : opts[:exclude] end |