Sha256: a672d64f9215ed7a5036eecb4c052219e55f578f74e8a2d57e2fdab8ac4482da

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

module DataForge
  module DSL
    module Commands

      def file(name, options = {}, &initialization_block)
        File.register_file_definition name, options, &initialization_block
      end



      def transform(source, options = {}, &transformation_block)
        Transformation::RubyTransformation.from_input(source, options, &transformation_block).execute
      end



      def deduplicate(source, options = {})
        Transformation::Deduplication.from_input(source, options).execute
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
data_forge-0.1.1 lib/data_forge/dsl/commands.rb