module Dill::TextTable::Transformations

Public Class Methods

keyword() click to toggle source
# File lib/dill/text_table/transformations.rb, line 4
def self.keyword
  ->(val) { val.squeeze(' ').strip.gsub(' ', '_').sub(/\?$/, '').to_sym }
end
pass() click to toggle source
# File lib/dill/text_table/transformations.rb, line 8
def self.pass
  ->(val) { val }
end