class AtlassianAppVersions::AppVersion
Public Instance Methods
keys()
click to toggle source
Calls superclass method
AtlassianAppVersions::AbstractVersion#keys
# File lib/atlassian_app_versions.rb, line 359 def keys # Combine versionJSON keys with releaseJSON keys. Note that Confluence 5.6 and earlier doesn't have releaseJSON. releaseJSON ? releaseJSON.keys + super : super end
method_missing(name, *args, &block)
click to toggle source
Calls superclass method
AtlassianAppVersions::AbstractVersion#method_missing
# File lib/atlassian_app_versions.rb, line 364 def method_missing(name, *args, &block) if releaseJSON and releaseJSON.keys.member? name.to_s then releaseJSON[name.to_s] else super end end
relNotes()
click to toggle source
# File lib/atlassian_app_versions.rb, line 352 def relNotes # RC releases don't have release notes, in which case return nil if releaseJSON releaseJSON["releaseNotes"]&.strip end end
releaseJSON()
click to toggle source
# File lib/atlassian_app_versions.rb, line 348 def releaseJSON raise "Override me" end
respond_to_missing?(name, include_private = false)
click to toggle source
Calls superclass method
AtlassianAppVersions::AbstractVersion#respond_to_missing?
# File lib/atlassian_app_versions.rb, line 372 def respond_to_missing?(name, include_private = false) keys.member? name.to_s || super end