Sha256: 60992f4893aef842fe16b35bf206a33ca864b24383e1702ac23a6fe33f933bb1
Contents?: true
Size: 415 Bytes
Versions: 1
Compression:
Stored size: 415 Bytes
Contents
module PositiveBasicSupport::Checker def should_be( var , variable_number: nil , variable_name: nil ) send( "should_be_#{var}" , variable_number: variable_number , variable_name: variable_name ) end private def should_be_boolean( variable_number: nil , variable_name: nil ) unless boolean? ::PositiveBasicSupport::Checker::ErrorFactory.change_paragraph_and_indent( "" ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
positive_basic_support-0.2.0 | lib/positive_basic_support/checker.rb |