Sha256: efb026a8538311c39312c6c0b3baa74ab42f187c62e5183b7bbfbf5d94dae717

Contents?: true

Size: 517 Bytes

Versions: 21

Compression:

Stored size: 517 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

    def inspect
      to_s
     end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
table_print-1.5.6 lib/table_print/returnable.rb
table_print-1.5.5 lib/table_print/returnable.rb
table_print-1.5.4 lib/table_print/returnable.rb
table_print-1.5.3 lib/table_print/returnable.rb
table_print-1.5.2 lib/table_print/returnable.rb
table_print-1.5.1 lib/table_print/returnable.rb
table_print-1.5.0 lib/table_print/returnable.rb
table_print-1.4.1 lib/table_print/returnable.rb
table_print-1.4.0 lib/table_print/returnable.rb
table_print-1.3.3 lib/table_print/returnable.rb
table_print-1.3.2 lib/table_print/returnable.rb
table_print-1.3.1 lib/table_print/returnable.rb
table_print-1.3.0 lib/table_print/returnable.rb
table_print-1.2.0 lib/table_print/returnable.rb
table_print-1.1.5 lib/table_print/returnable.rb
table_print-1.1.4 lib/table_print/returnable.rb
table_print-1.1.3 lib/table_print/returnable.rb
table_print-1.1.2 lib/table_print/returnable.rb
table_print-1.1.1 lib/table_print/returnable.rb
table_print-1.1.0 lib/table_print/returnable.rb