Parent

ForgeryGenerator

Public Class Methods

source_root() click to toggle source
# File lib/generators/forgery/forgery_generator.rb, line 6
def self.source_root
  @_forgery_source_root ||= File.expand_path(File.dirname(__FILE__))
end

Public Instance Methods

create_directories() click to toggle source
# File lib/generators/forgery/forgery_generator.rb, line 10
def create_directories
  puts "Creating directories in /lib/forgery..."

  FileUtils.mkdir_p 'lib/forgery/dictionaries'
  FileUtils.mkdir_p 'lib/forgery/extensions'
  FileUtils.mkdir_p 'lib/forgery/forgeries'
  FileUtils.mkdir_p 'lib/forgery/formats'
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.