Sha256: 17142d75b23b9d4cb34498a29f7495a8e8fcc53834c3e79dffa10fa35751ff5d

Contents?: true

Size: 357 Bytes

Versions: 40

Compression:

Stored size: 357 Bytes

Contents

class Symbol
  # def >(num);"#{self} > #{num}";end
  # def <(num);"#{self} < #{num}";end
  # def >=(num);"#{self} >= #{num}";end
  # def <=(num);"#{self} <= #{num}";end
  # def ==(num);"#{self} > #{num}";end
  
  def to_string(pre="")
    "#{pre}#{self.to_s}"
  end
  def sanitize
    self.to_s.sanitize
  end
  def <=>(b)
    "#{self}" <=> "#{b}"
  end
end

Version data entries

40 entries across 40 versions & 3 rubygems

Version Path
auser-poolparty-0.2.62 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.63 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.64 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.65 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.66 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.67 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.68 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.69 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.70 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.71 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.72 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.74 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.76 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.77 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.78 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.79 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.80 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.81 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.84 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.85 lib/poolparty/core/symbol.rb