Sha256: d27fbd3d04f7c0d57fc3cbd0fdbce27d84f0c04b5ae32307ce7ef56457926c00

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

module SexpThing

  class Base
    def initialize(sexp)
      @sexp = sexp
    end

    def ==(other)
      other.is_a?(String) ? name == other : self.sexp == other.sexp
    end

    attr_reader :sexp

  end

end

['args','arg','class','module','def'].each do |m|
  require_relative m
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sexp_info-0.0.4 lib/sexp_info/sexp_thing/sexp_thing.rb
sexp_info-0.0.3 lib/sexp_info/sexp_thing/sexp_thing.rb
sexp_info-0.0.2 lib/sexp_info/sexp_thing/sexp_thing.rb
sexp_info-0.0.1 lib/sexp_info/sexp_thing/sexp_thing.rb