class SexpThing::Def

Public Instance Methods

args() click to toggle source
# File lib/sexp_info/sexp_thing/def.rb, line 13
def args
  Args.new(sexp[2])
end
arity() click to toggle source
# File lib/sexp_info/sexp_thing/def.rb, line 9
def arity
  args.count
end
line_number() click to toggle source
# File lib/sexp_info/sexp_thing/def.rb, line 17
def line_number
  sexp[1][2][0]
end
name() click to toggle source
# File lib/sexp_info/sexp_thing/def.rb, line 5
def name
  sexp[1][1]
end