Method: Consular::Core#initialize

Defined in:
lib/consular/core.rb

#initialize(path) ⇒ Core

Instantiated the hash from the Termfile into the core.

Parameters:

  • path (String)

    Path to Termfile



19
20
21
# File 'lib/consular/core.rb', line 19

def initialize(path)
  @termfile = Consular::DSL.new(path).to_hash
end