Sha256: c6988aa11ece1f485e0b4c04ac230e4b407dc75a71720215f48b20940b3a4770

Contents?: true

Size: 869 Bytes

Versions: 117

Compression:

Stored size: 869 Bytes

Contents

#
# Copyright 2012 Mortar Data Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require "mortar/generators/generator_base"
module Mortar
  module Generators
    class UDFGenerator < Base

      def generate_python_udf(udf_name, project, options)
        copy_file "python_udf.py", "udfs/python/#{udf_name}.py", :recursive => true
      end
      
    end
  end
end

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
mortar-0.15.33 lib/mortar/generators/udf_generator.rb
mortar-0.15.32 lib/mortar/generators/udf_generator.rb
mortar-0.15.31 lib/mortar/generators/udf_generator.rb
mortar-0.15.30 lib/mortar/generators/udf_generator.rb
mortar-0.15.29 lib/mortar/generators/udf_generator.rb
mortar-0.15.28 lib/mortar/generators/udf_generator.rb
mortar-0.15.27 lib/mortar/generators/udf_generator.rb
mortar-0.15.26 lib/mortar/generators/udf_generator.rb
mortar-0.15.25 lib/mortar/generators/udf_generator.rb
mortar-0.15.24 lib/mortar/generators/udf_generator.rb
mortar-0.15.23 lib/mortar/generators/udf_generator.rb
mortar-0.15.22 lib/mortar/generators/udf_generator.rb
mortar-0.15.21 lib/mortar/generators/udf_generator.rb
mortar-0.15.20 lib/mortar/generators/udf_generator.rb
mortar-0.15.19 lib/mortar/generators/udf_generator.rb
mortar-0.15.18 lib/mortar/generators/udf_generator.rb
mortar-0.15.17 lib/mortar/generators/udf_generator.rb
mortar-0.15.16 lib/mortar/generators/udf_generator.rb
mortar-0.15.15 lib/mortar/generators/udf_generator.rb
mortar-0.15.14 lib/mortar/generators/udf_generator.rb