Class: Gel::PubGrub::Source::Spec

Inherits:
Struct
  • Object
show all
Defined in:
lib/gel/pub_grub/source.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#catalogObject

Returns the value of attribute catalog

Returns:

  • (Object)

    the current value of catalog



9
10
11
# File 'lib/gel/pub_grub/source.rb', line 9

def catalog
  @catalog
end

#infoObject

Returns the value of attribute info

Returns:

  • (Object)

    the current value of info



9
10
11
# File 'lib/gel/pub_grub/source.rb', line 9

def info
  @info
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/gel/pub_grub/source.rb', line 9

def name
  @name
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



9
10
11
# File 'lib/gel/pub_grub/source.rb', line 9

def version
  @version
end

Instance Method Details

#gem_versionObject



10
11
12
# File 'lib/gel/pub_grub/source.rb', line 10

def gem_version
  @gem_version ||= Gel::Support::GemVersion.new(version)
end