Sha256: a001f6a61eadf3db0f2a4523e7ed5ba26a6fc09330b83bf4cede6218e2e37564

Contents?: true

Size: 182 Bytes

Versions: 3

Compression:

Stored size: 182 Bytes

Contents

#!/usr/bin/ruby -w
# -*- ruby -*-

module Command::Cacheable
  class Argument < String
    # just a string, but quotes itself

    def to_s
      '"' + super + '"'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
command-cacheable-0.2.1 lib/command/cacheable/arg.rb
command-cacheable-0.2.0 lib/command/cacheable/arg.rb
command-cacheable-0.1.0 lib/command/cacheable/arg.rb