Module: Fig::Grammar::V2::IncludeFile2

Defined in:
lib/fig/grammar/v2.rb

Instance Method Summary collapse

Instance Method Details

#to_config_statement(build_state) ⇒ Object


187
188
189
190
191
192
193
194
195
196
# File 'lib/fig/grammar/v2.rb', line 187

def to_config_statement(build_state)
  config_name = nil
  if config.respond_to? :config_name
    config_name = config.config_name
  end

  return build_state.new_include_file_statement(
    statement_start, path, config_name
  )
end