class SexpThing::Base
Attributes
sexp[R]
Public Class Methods
new(sexp)
click to toggle source
# File lib/sexp_info/sexp_thing/sexp_thing.rb, line 4 def initialize(sexp) @sexp = sexp end
Public Instance Methods
==(other)
click to toggle source
# File lib/sexp_info/sexp_thing/sexp_thing.rb, line 8 def ==(other) other.is_a?(String) ? name == other : self.sexp == other.sexp end