Sha256: ab5be615468840132c5e78758c53040b45e8fe06fe12042379f576057402fc72

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

module TablePrint
  class Returnable
    def initialize(string_value="")
      @string_value = string_value
    end

    def set(klass, *config)
      TablePrint::Config.set(klass, config)
      "Set table_print config for #{klass}"
    end

    def clear(klass)
      TablePrint::Config.clear(klass)
      "Cleared table_print config for #{klass}"
    end

    def config_for(klass)
      TablePrint::Config.for(klass)
    end

    def to_s
      @string_value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
table_print-1.0.0 lib/table_print/returnable.rb