Class: Elm::Compiler

Inherits:
Object
  • Object
show all
Includes:
Contracts::Builtin, Contracts::Core
Defined in:
lib/elm/compiler.rb

Overview

Compile a set of elm files with options

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.with(runnable) ⇒ Object



12
13
14
# File 'lib/elm/compiler.rb', line 12

def self.with(runnable)
  Compiler.new runnable
end

Instance Method Details

#files(files_list, with_options: {}) ⇒ Object



17
18
19
# File 'lib/elm/compiler.rb', line 17

def files(files_list, with_options: Elm::Options.new)
  Files.new @make, files_list, with_options
end