Method: Mutx::Support::Configuration.is_boolean?
- Defined in:
- lib/mutx/support/configuration.rb
.is_boolean?(object) ⇒ Boolean
233 234 235 236 237 238 239 |
# File 'lib/mutx/support/configuration.rb', line 233 def self.is_boolean? object if [TrueClass, FalseClass].include? object.class object.class else false end end |