Class: LcpRuby::SkillsInstaller::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/lcp_ruby/skills_installer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#createdObject

Returns the value of attribute created

Returns:

  • (Object)

    the current value of created



15
16
17
# File 'lib/lcp_ruby/skills_installer.rb', line 15

def created
  @created
end

#removedObject

Returns the value of attribute removed

Returns:

  • (Object)

    the current value of removed



15
16
17
# File 'lib/lcp_ruby/skills_installer.rb', line 15

def removed
  @removed
end

#updatedObject

Returns the value of attribute updated

Returns:

  • (Object)

    the current value of updated



15
16
17
# File 'lib/lcp_ruby/skills_installer.rb', line 15

def updated
  @updated
end

Instance Method Details

#any_changes?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/lcp_ruby/skills_installer.rb', line 16

def any_changes?
  created.any? || updated.any? || removed.any?
end