Module: TwistyPuzzles::EdgeLike
Overview
Module for methods that are common to all edge-like part classes.
Instance Method Summary collapse
Instance Method Details
#valid?(face_symbols) ⇒ Boolean
442 443 444 |
# File 'lib/twisty_puzzles/cube.rb', line 442 def valid?(face_symbols) CubeConstants::OPPOSITE_FACE_SYMBOLS.none? { |ss| ss.sort == face_symbols.sort } end |