Class: WhatTheGem::Changes::GlobalSince

Inherits:
Struct
  • Object
show all
Defined in:
lib/whatthegem/changes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#versionObject

Returns the value of attribute version



26
27
28
# File 'lib/whatthegem/changes.rb', line 26

def version
  @version
end

Instance Method Details

#to_hObject



27
28
29
# File 'lib/whatthegem/changes.rb', line 27

def to_h
  {description: "your latest global version: #{version}"}
end