Class: Composer::Package::LinkConstraint::EmptyConstraint
- Inherits:
-
BaseConstraint
- Object
- BaseConstraint
- Composer::Package::LinkConstraint::EmptyConstraint
- Defined in:
- lib/composer/package/link_constraint/empty_constraint.rb
Instance Method Summary collapse
- #matches(provider) ⇒ Object
- #pretty_string ⇒ Object
- #pretty_string=(pretty_string) ⇒ Object
- #to_s ⇒ Object
Instance Method Details
#matches(provider) ⇒ Object
16 17 18 |
# File 'lib/composer/package/link_constraint/empty_constraint.rb', line 16 def matches(provider) true end |
#pretty_string ⇒ Object
24 25 26 27 |
# File 'lib/composer/package/link_constraint/empty_constraint.rb', line 24 def pretty_string return to_s unless @pretty_string @pretty_string end |
#pretty_string=(pretty_string) ⇒ Object
20 21 22 |
# File 'lib/composer/package/link_constraint/empty_constraint.rb', line 20 def pretty_string=(pretty_string) @pretty_string = pretty_string end |
#to_s ⇒ Object
29 30 31 |
# File 'lib/composer/package/link_constraint/empty_constraint.rb', line 29 def to_s '[]' end |