Sha256: bfd5192f231602b2ea36d8eab73ecef8a743ed5105fe8c37d87eaf6ddbe671cd

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module Sexpr
  module Node

    def sexpr_type
      first
    end
    alias :sexp_type :sexpr_type

    def sexpr_body
      self[1..-1]
    end
    alias :sexp_body :sexpr_body

  end # module Node
  include Node
end # module Sexpr

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sexpr-0.3.0 lib/sexpr/node.rb