Method: Interactify::Wiring#initialize

Defined in:
lib/interactify/wiring.rb

#initialize(root:, ignore: []) ⇒ Wiring

Returns a new instance of Wiring.



13
14
15
16
# File 'lib/interactify/wiring.rb', line 13

def initialize(root:, ignore: [])
  @root = root.to_s.gsub(%r{/$}, "")
  @ignore = ignore
end