Sha256: 98ce043d404b2e77b409615df07c3027d792f0a929d3cac3a0309f3e64d915c1

Contents?: true

Size: 491 Bytes

Versions: 21

Compression:

Stored size: 491 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'dry_scaffold', 'dry_scaffold_generator')

class DscaffoldGenerator < DryScaffoldGenerator
  
  def initialize(runtime_args, runtime_options = {})
    super
    # Make Rails look for templates within generator "dry_scaffold" path
    @source_root = options[:source] || File.join(spec.path, '..', 'dry_scaffold', 'templates')
  end
  
  def usage_message
    File.read(File.join(spec.path, '..', 'dry_scaffold', 'USAGE')) rescue ''
  end
  
end

Version data entries

21 entries across 21 versions & 6 rubygems

Version Path
akitaonrails-dry_scaffold-0.3.3 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.1.2 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.2.0 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.2.1 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.2.2 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.2.3 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.2.4 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.2.5 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.2.6 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.3.0 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.3.1 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.3.2 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.3.3 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.3.4 generators/dscaffold/dscaffold_generator.rb
grimen-dry_scaffold-0.3.5 generators/dscaffold/dscaffold_generator.rb
pelle-dry_scaffold-0.3.5 generators/dscaffold/dscaffold_generator.rb
dry_scaffold-0.3.8 generators/dscaffold/dscaffold_generator.rb
dry_scaffold-0.3.7 generators/dscaffold/dscaffold_generator.rb
dry_scaffold-0.3.6 generators/dscaffold/dscaffold_generator.rb
blakechambers-dry_scaffold-0.3.6 generators/dscaffold/dscaffold_generator.rb