Class: IronWorkerNG::Feature::Ruby::MergeGemfile::Feature

Inherits:
Base
  • Object
show all
Defined in:
lib/iron_worker_ng/feature/ruby/merge_gemfile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#build_command, #bundle, #container_add, #rebase

Constructor Details

#initialize(code, path, groups) ⇒ Feature

Returns a new instance of Feature.



11
12
13
14
15
16
# File 'lib/iron_worker_ng/feature/ruby/merge_gemfile.rb', line 11

def initialize(code, path, groups)
  super(code)

  @path = path
  @groups = groups
end

Instance Attribute Details

#groupsObject (readonly)

Returns the value of attribute groups.



9
10
11
# File 'lib/iron_worker_ng/feature/ruby/merge_gemfile.rb', line 9

def groups
  @groups
end

#pathObject (readonly)

Returns the value of attribute path.



8
9
10
# File 'lib/iron_worker_ng/feature/ruby/merge_gemfile.rb', line 8

def path
  @path
end