Parent

Included Modules

Symbol

Public Instance Methods

<=>(with) click to toggle source

Standard in ruby 1.9. See official documentation

# File lib/backports/1.9.1/symbol.rb, line 14
def <=>(with)
  return nil unless with.is_a? Symbol
  to_s <=> with.to_s
end
casecmp(with) click to toggle source

Standard in ruby 1.9. See official documentation

# File lib/backports/1.9.1/symbol.rb, line 20
def casecmp(with)
  return nil unless with.is_a? Symbol
  to_s.casecmp(with.to_s)
end
to_proc() click to toggle source

Standard in ruby 1.8.7+. See official documentation

# File lib/backports/1.8.7/symbol.rb, line 3
def to_proc
  Proc.new { |*args| args.shift.__send__(self, *args) }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.