Class: BigBananajour::GemDependencies::Dependency

Inherits:
Struct
  • Object
show all
Defined in:
lib/bigbananajour/gem_dependencies.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



19
20
21
# File 'lib/bigbananajour/gem_dependencies.rb', line 19

def name
  @name
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



19
20
21
# File 'lib/bigbananajour/gem_dependencies.rb', line 19

def version
  @version
end

Instance Method Details

#require_gemObject



20
# File 'lib/bigbananajour/gem_dependencies.rb', line 20

def require_gem; gem name, version end