Class: Gem::AvailableSet::Tuple

Inherits:
Struct show all
Defined in:
lib/rubygems/available_set.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json, json_create, #pretty_print, #pretty_print_cycle, #to_json

Instance Attribute Details

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



6
7
8
# File 'lib/rubygems/available_set.rb', line 6

def source
  @source
end

#specObject

Returns the value of attribute spec

Returns:

  • (Object)

    the current value of spec



6
7
8
# File 'lib/rubygems/available_set.rb', line 6

def spec
  @spec
end