Skip to content

Instantly share code, notes, and snippets.

@bookwyrm
Created December 18, 2017 19:53
Show Gist options
  • Save bookwyrm/e6543d472f3418baeb026ad3f151278f to your computer and use it in GitHub Desktop.
Save bookwyrm/e6543d472f3418baeb026ad3f151278f to your computer and use it in GitHub Desktop.
required(:hes_sfr_att_townhome_position_post).maybe(:str?).when(:not_left_or_middle?).when(:not_front_represents_all_types?) do
value(:hes_right_side_windows_area_post).filled?
end
required(:hes_sfr_att_townhome_position_post).maybe(:str?).when(:not_left_or_middle?) do
value(:hes_right_side_windows_frame_post).valid_window_frame?
end
required(:hes_sfr_att_townhome_position_post).maybe(:str?).when(:not_left_or_middle?) do
value(:hes_right_side_windows_glass_layers_post).filled?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment