Class: AsdfDiscover::Found

Inherits:
Struct
  • Object
show all
Defined in:
lib/asdf_discover/result.rb

Overview

A result that was found.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



6
7
8
# File 'lib/asdf_discover/result.rb', line 6

def source
  @source
end

#toolObject

Returns the value of attribute tool

Returns:

  • (Object)

    the current value of tool



6
7
8
# File 'lib/asdf_discover/result.rb', line 6

def tool
  @tool
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



6
7
8
# File 'lib/asdf_discover/result.rb', line 6

def version
  @version
end

Instance Method Details

#found?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/asdf_discover/result.rb', line 7

def found?
  true
end