Class: ToggleLocalSpm::CLI::Candidate
- Inherits:
-
Struct
- Object
- Struct
- ToggleLocalSpm::CLI::Candidate
- Defined in:
- lib/toggle_local_spm/cli.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#resolved_entry ⇒ Object
Returns the value of attribute resolved_entry.
-
#tracked ⇒ Object
Returns the value of attribute tracked.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
44 45 46 |
# File 'lib/toggle_local_spm/cli.rb', line 44 def name @name end |
#ref ⇒ Object
Returns the value of attribute ref
44 45 46 |
# File 'lib/toggle_local_spm/cli.rb', line 44 def ref @ref end |
#resolved_entry ⇒ Object
Returns the value of attribute resolved_entry
44 45 46 |
# File 'lib/toggle_local_spm/cli.rb', line 44 def resolved_entry @resolved_entry end |
#tracked ⇒ Object
Returns the value of attribute tracked
44 45 46 |
# File 'lib/toggle_local_spm/cli.rb', line 44 def tracked @tracked end |
#type ⇒ Object
Returns the value of attribute type
44 45 46 |
# File 'lib/toggle_local_spm/cli.rb', line 44 def type @type end |
Instance Method Details
#local? ⇒ Boolean
45 46 47 |
# File 'lib/toggle_local_spm/cli.rb', line 45 def local? ref.is_a?(LocalRef) end |