Class: Bowline::Generators::WindowGenerator

Inherits:
NamedGenerator show all
Defined in:
lib/bowline/generators/window.rb

Instance Method Summary collapse

Methods inherited from NamedGenerator

#initialize, #symbol_name

Methods inherited from Generator

chmod, #shebang, source_root, touch, #with_modules

Constructor Details

This class inherits a constructor from Bowline::Generators::NamedGenerator

Instance Method Details

#class_nameObject



11
12
13
# File 'lib/bowline/generators/window.rb', line 11

def class_name
  "#{self.name.camel_case}Window"
end

#file_nameObject



15
16
17
# File 'lib/bowline/generators/window.rb', line 15

def file_name
  "#{name}_window"
end

#modulesObject



7
8
9
# File 'lib/bowline/generators/window.rb', line 7

def modules
  []
end