Sha256: 969551223d5fb6dff0595e91c85f48af848b9f20aaba88bd64945608d6435afb
Contents?: true
Size: 466 Bytes
Versions: 13
Compression:
Stored size: 466 Bytes
Contents
module Cello module PageObjects module CheckboxHelper def define_extras_for_checkbox(name) define_method "#{name}_check" do send(name).set end define_method "#{name}_uncheck" do send(name).clear end define_method "#{name}_is_checked?" do send(name).set? end define_method "#{name}_is_unchecked?" do !(send(name).set?) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems