Class: Nsweb::Generators::NamedBase

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/nsweb.rb

Direct Known Subclasses

ControllerGenerator, ModelGenerator

Instance Attribute Summary

Attributes inherited from Base

#plugin_name

Instance Method Summary collapse

Methods inherited from Base

banner, source_root

Constructor Details

#initialize(args, *options) ⇒ NamedBase

Returns a new instance of NamedBase.



64
65
66
67
# File 'lib/generators/nsweb.rb', line 64

def initialize(args, *options)
  super
  assign_names!(self.name)
end