Class: Hanami::CLI::Generators::App::RubyClassFile Private
- Defined in:
- lib/hanami/cli/generators/app/ruby_class_file.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(parent_class_name: nil, **args) ⇒ RubyClassFile
constructor
private
A new instance of RubyClassFile.
Methods inherited from RubyFile
#create, #fully_qualified_name, #path, #write
Constructor Details
#initialize(parent_class_name: nil, **args) ⇒ RubyClassFile
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of RubyClassFile.
11 12 13 14 15 |
# File 'lib/hanami/cli/generators/app/ruby_class_file.rb', line 11 def initialize(parent_class_name: nil, **args) super @parent_class_name = parent_class_name end |