APIdock / Ruby
/
Browse About
method

state_any?

v2_6_3 - Show latest stable - Class: Gem::Resolver::Molinillo::Resolver::Resolution
state_any?(state)
private

@return [Boolean] whether or not the given state has any possibilities

left.
# File lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb, line 238
      def state_any?(state)
        state && state.possibilities.any?
      end

Related methods

  • Instance methods
  • resolve
  • Class methods
  • new
  • Private methods
  • privateactivate_spec
  • privateattempt_to_activate
  • privateattempt_to_activate_existing_spec
  • privateattempt_to_activate_new_spec
  • privateattempt_to_swap_possibility
  • privatecreate_conflict
  • privatedebug
  • privateend_resolution
  • privatefind_state_for
  • privatefixup_swapped_children
  • privatehandle_missing_or_push_dependency_state
  • privateindicate_progress
  • privateinitial_state
  • privatelocked_requirement_named
  • privatenew_spec_satisfied?
  • privateparent_of
  • privatepossibility
  • privateprocess_topmost_state
  • privatepush_state_for_requirements
  • privaterequire_nested_dependencies_for
  • privaterequirement_for_existing_name
  • privaterequirement_tree_for
  • privaterequirement_trees
  • privatestart_resolution
  • privatestate
  • privatestate_any?
  • privatestate_index_for_unwind
  • privateunwind_for_conflict
APIdock API Documentation Browser

© 2026 APIdock