Class: Another::Options

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Options

Returns a new instance of Options.



8
9
10
11
# File 'lib/another/options.rb', line 8

def initialize(args)
  @args = args.dup
  process!
end

Instance Attribute Details

#project_nameObject (readonly)

Returns the value of attribute project_name.



6
7
8
# File 'lib/another/options.rb', line 6

def project_name
  @project_name
end

#targetObject (readonly)

Returns the value of attribute target.



6
7
8
# File 'lib/another/options.rb', line 6

def target
  @target
end

#templateObject (readonly)

Returns the value of attribute template.



6
7
8
# File 'lib/another/options.rb', line 6

def template
  @template
end