Class: ConventionalModels::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/conventional_models/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOptions

Returns a new instance of Options.



5
6
7
8
9
10
11
12
# File 'lib/conventional_models/options.rb', line 5

def initialize
  @skip_configure = false
  @config = "config/database.yml"
  @environment = "development"
  @verbose = false
  @output_version = false
  @output_help = false
end

Instance Attribute Details

#configObject

Returns the value of attribute config.



3
4
5
# File 'lib/conventional_models/options.rb', line 3

def config
  @config
end

#environmentObject

Returns the value of attribute environment.



3
4
5
# File 'lib/conventional_models/options.rb', line 3

def environment
  @environment
end

#output_helpObject

Returns the value of attribute output_help.



3
4
5
# File 'lib/conventional_models/options.rb', line 3

def output_help
  @output_help
end

#output_versionObject

Returns the value of attribute output_version.



3
4
5
# File 'lib/conventional_models/options.rb', line 3

def output_version
  @output_version
end

#skip_configureObject

Returns the value of attribute skip_configure.



3
4
5
# File 'lib/conventional_models/options.rb', line 3

def skip_configure
  @skip_configure
end

#verboseObject

Returns the value of attribute verbose.



3
4
5
# File 'lib/conventional_models/options.rb', line 3

def verbose
  @verbose
end