Class: RubyGemsRequirementsSystem::Executable

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubygems-requirements-system/executable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



19
20
21
# File 'lib/rubygems-requirements-system/executable.rb', line 19

def name
  @name
end

Instance Method Details

#installed?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/rubygems-requirements-system/executable.rb', line 20

def installed?
  ExecutableFinder.exist?(name)
end