Class: Browsable::Doctor::Tool
- Inherits:
-
Data
- Object
- Data
- Browsable::Doctor::Tool
- Defined in:
- lib/browsable/doctor.rb
Overview
A tool browsable depends on. ‘binary` is nil for packages that ship no executable (checked via the global npm tree instead). `enables` lists the analyzer kinds the tool unlocks.
Instance Attribute Summary collapse
-
#binary ⇒ Object
readonly
Returns the value of attribute binary.
-
#enables ⇒ Object
readonly
Returns the value of attribute enables.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#npm_package ⇒ Object
readonly
Returns the value of attribute npm_package.
-
#purpose ⇒ Object
readonly
Returns the value of attribute purpose.
-
#required ⇒ Object
readonly
Returns the value of attribute required.
Instance Method Summary collapse
Instance Attribute Details
#binary ⇒ Object (readonly)
Returns the value of attribute binary
18 19 20 |
# File 'lib/browsable/doctor.rb', line 18 def binary @binary end |
#enables ⇒ Object (readonly)
Returns the value of attribute enables
18 19 20 |
# File 'lib/browsable/doctor.rb', line 18 def enables @enables end |
#key ⇒ Object (readonly)
Returns the value of attribute key
18 19 20 |
# File 'lib/browsable/doctor.rb', line 18 def key @key end |
#label ⇒ Object (readonly)
Returns the value of attribute label
18 19 20 |
# File 'lib/browsable/doctor.rb', line 18 def label @label end |
#npm_package ⇒ Object (readonly)
Returns the value of attribute npm_package
18 19 20 |
# File 'lib/browsable/doctor.rb', line 18 def npm_package @npm_package end |
#purpose ⇒ Object (readonly)
Returns the value of attribute purpose
18 19 20 |
# File 'lib/browsable/doctor.rb', line 18 def purpose @purpose end |
#required ⇒ Object (readonly)
Returns the value of attribute required
18 19 20 |
# File 'lib/browsable/doctor.rb', line 18 def required @required end |
Instance Method Details
#binary? ⇒ Boolean
19 |
# File 'lib/browsable/doctor.rb', line 19 def binary? = !binary.nil? |