Sha256: 1bb995b7f020ba8df6f00b8ce3fa445f3d9bae94eff66d6b82c01d128cbdf57e

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

class Dependency

  attr_accessor :group, :name, :version, :exclusions

  def initialize(group, name, version=nil, exclusions=[])
    @group = group
    @name = name
    @version = version
    @exclusions = exclusions
  end

  def has_exclusions?
    !@exclusions.empty?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
springmvc-scaffold-1.0.1 lib/springmvc-scaffold/generators/app/dependency.rb