Class: Gel::PubGrub::Source::Spec
- Inherits:
-
Struct
- Object
- Struct
- Gel::PubGrub::Source::Spec
- Defined in:
- lib/gel/pub_grub/source.rb
Instance Attribute Summary collapse
-
#catalog ⇒ Object
Returns the value of attribute catalog.
-
#info ⇒ Object
Returns the value of attribute info.
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#catalog ⇒ Object
Returns the value of attribute catalog
9 10 11 |
# File 'lib/gel/pub_grub/source.rb', line 9 def catalog @catalog end |
#info ⇒ Object
Returns the value of attribute info
9 10 11 |
# File 'lib/gel/pub_grub/source.rb', line 9 def info @info end |
#name ⇒ Object
Returns the value of attribute name
9 10 11 |
# File 'lib/gel/pub_grub/source.rb', line 9 def name @name end |
#version ⇒ Object
Returns the value of attribute version
9 10 11 |
# File 'lib/gel/pub_grub/source.rb', line 9 def version @version end |
Instance Method Details
#gem_version ⇒ Object
10 11 12 |
# File 'lib/gel/pub_grub/source.rb', line 10 def gem_version @gem_version ||= Gel::Support::GemVersion.new(version) end |