Module: Musa::Datasets::E
Constant Summary collapse
- NaturalKeys =
[].freeze
Instance Method Summary collapse
-
#valid? ⇒ Boolean
TODO implement valid? in all ‘subclasses’.
- #validate! ⇒ Object
Instance Method Details
#valid? ⇒ Boolean
TODO implement valid? in all ‘subclasses’. This implies recollecting from other places where validations are done and refactoring TODO should valid? and validate! be on Dataset instead of E? P dataset inherits from Dataset but probably it could be validated
12 13 14 |
# File 'lib/musa-dsl/datasets/e.rb', line 12 def valid? true end |
#validate! ⇒ Object
16 17 18 |
# File 'lib/musa-dsl/datasets/e.rb', line 16 def validate! raise RuntimeError, "Invalid dataset #{self}" unless valid? end |