Module: Staticz::Compilable::ClassMethods

Defined in:
lib/manifest/compilable.rb

Instance Method Summary collapse

Instance Method Details

#compile(source_file_ending, build_file_ending, file_type_name) ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/manifest/compilable.rb', line 10

def compile(source_file_ending, build_file_ending, file_type_name)
  define_method :source_file_ending do
    source_file_ending
  end

  define_method :build_file_ending do
    build_file_ending
  end

  define_method :file_type_name do
    file_type_name
  end
end