Method: FluQ::DSL::Root#initialize

Defined in:
lib/fluq/dsl/root.rb

#initialize(path) ⇒ Root

Returns a new instance of Root.

Parameters:

  • DSL (String)

    script file path



6
7
8
9
10
11
# File 'lib/fluq/dsl/root.rb', line 6

def initialize(path)
  @path   = Pathname.new(path)
  @feeds  = []

  instance_eval @path.read
end