# File lib/consular/dsl.rb, line 29 def initialize(path) @_setup = [] @_windows = ActiveSupport::OrderedHash.new @_windows['default'] = window_hash @_context = @_windows['default'] file = File.read(File.expand_path(path)) if path =~ /\.yml$/ @_file = YAML.load file extend Yaml else instance_eval file, __FILE__, __LINE__ end end