class Bruhl::QuotedString
Attributes
str[R]
Public Class Methods
new(str)
click to toggle source
# File lib/bruhl.rb, line 82 def initialize(str) @str = str end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/bruhl.rb, line 86 def <=>(other) other.respond_to?(:to_str) && @str <=> other.to_str end
eql?(other)
click to toggle source
# File lib/bruhl.rb, line 90 def eql?(other) self == other end
hash()
click to toggle source
# File lib/bruhl.rb, line 94 def hash @str.hash end
inspect()
click to toggle source
# File lib/bruhl.rb, line 98 def inspect to_s end
to_s()
click to toggle source
# File lib/bruhl.rb, line 102 def to_s @str end
to_str()
click to toggle source
# File lib/bruhl.rb, line 106 def to_str @str end