Class: Minke::Generators::ConfigVariables

Inherits:
Object
  • Object
show all
Defined in:
lib/minke/generators/config_variables.rb

Overview

ConfigVariables encapsulates the variables that are evaluated at runtime when  a template is loaded.

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameObject

application_name is the name of the application



19
20
21
# File 'lib/minke/generators/config_variables.rb', line 19

def application_name
  @application_name
end

#namespaceObject

namespace is the namespace of the application



15
16
17
# File 'lib/minke/generators/config_variables.rb', line 15

def namespace
  @namespace
end

#src_rootObject

src_root is the absolute path where the src files will be generated



11
12
13
# File 'lib/minke/generators/config_variables.rb', line 11

def src_root
  @src_root
end