Sha256: ccd7a8c41e3c7e6b37d16e37b51045c4d7a3101ed07ee6eb5c9fe328b54b9fb2

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

module DataForge
  module DSL
    module Commands

      def file(name, &initialization_block)
        File.register_file_definition name, &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 lib/data_forge/dsl/commands.rb