Sha256: ad0312def530adb0731df153bebc1a0c75590ba1a15fa149fd6686e9f1d2db91

Contents?: true

Size: 157 Bytes

Versions: 7

Compression:

Stored size: 157 Bytes

Contents

require 'ronin/gen/generator'

class FileGenerator < Gen::Generator

  def generate
    write('test.txt') do |file|
      file << "hello"
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ronin-gen-1.2.0 spec/gen/classes/file_generator.rb
ronin-gen-1.2.0.rc2 spec/gen/classes/file_generator.rb
ronin-gen-1.2.0.rc1 spec/gen/classes/file_generator.rb
ronin-gen-1.1.1 spec/gen/classes/file_generator.rb
ronin-gen-1.1.0 spec/gen/classes/file_generator.rb
ronin-gen-1.1.0.rc2 spec/gen/classes/file_generator.rb
ronin-gen-1.1.0.rc1 spec/gen/classes/file_generator.rb