Class: Mumukit::Randomizer

Inherits:
Object
  • Object
show all
Defined in:
lib/mumuki/domain.rb

Class Method Summary collapse

Class Method Details

.valid?(randomizations) ⇒ Boolean

Returns:

  • (Boolean)


51
52
53
# File 'lib/mumuki/domain.rb', line 51

def self.valid?(randomizations)
  !!parse(randomizations) rescue false
end