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.88 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.89 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.90 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.91 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.92 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.93 lib/poolparty/core/symbol.rb
auser-poolparty-0.2.94 lib/poolparty/core/symbol.rb
auser-poolparty-1.0.0 lib/poolparty/core/symbol.rb
auser-poolparty-1.1.1 lib/poolparty/core/symbol.rb
auser-poolparty-1.1.3 lib/poolparty/core/symbol.rb
auser-poolparty-1.1.4 lib/poolparty/core/symbol.rb
auser-poolparty-1.1.5 lib/poolparty/core/symbol.rb
auser-poolparty-1.1.6 lib/poolparty/core/symbol.rb
auser-poolparty-1.1.7 lib/poolparty/core/symbol.rb
auser-poolparty-1.2.0 lib/poolparty/core/symbol.rb
fairchild-poolparty-1.1.3 lib/poolparty/core/symbol.rb
fairchild-poolparty-1.1.4 lib/poolparty/core/symbol.rb
fairchild-poolparty-1.1.5 lib/poolparty/core/symbol.rb
poolparty-0.2.84 lib/poolparty/core/symbol.rb
poolparty-0.2.69 lib/poolparty/core/symbol.rb