lib/sqed/boundaries.rb in sqed-0.7.0 vs lib/sqed/boundaries.rb in sqed-0.7.1

- old
+ new

@@ -22,10 +22,10 @@ # @return [Boolean] whether or not the last method to populate this object # executed to completion attr_accessor :complete def initialize(layout = nil) - raise 'unrecognized layout' if layout && !SqedConfig::LAYOUTS.include?(layout) + raise Sqed::Error, 'unrecognized layout' if layout && !SqedConfig::LAYOUTS.include?(layout) @complete = false @layout = layout @coordinates = {} initialize_coordinates if !@layout.nil?