class TableOfTruth::Inputs

Public Class Methods

new(inputs) click to toggle source

@param inputs [Hash<(String or Symbol)->Boolean>]

# File lib/table_of_truth/inputs.rb, line 4
def initialize(inputs)
  @inputs = inputs
  @inputs.each { |key, value| define_singleton_method(key) { value } }
end