Module: RPicSim::Flaws

Defined in:
lib/rpicsim/flaws.rb

Overview

This module stores knowledge about flaw in RPicSim, usually due to bugs or limitation of the MPLAB X classes we are using. See KnownIssues for more details.

Defined Under Namespace

Classes: Flaw

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object

Returns the effect of the flaw with the specified name for the currently loaded version of MPLAB X.

The names and effects are listed in flaws.rb.

The returned value will usually be a boolean, but sometimes a Symbol.

Parameters:

  • name (Symbol)

    The name of the flaw.



60
61
62
# File 'lib/rpicsim/flaws.rb', line 60

def self.[](name)
  @flaw_hash[name].effect Mplab.version
end