Sha256: 78bf23bef9f951da43570c88ae664730fbd329996ee9b0c1aa8c47491b15564f

Contents?: true

Size: 173 Bytes

Versions: 11

Compression:

Stored size: 173 Bytes

Contents

class DRG::Ruby::ClassFunc < DRG::Ruby::Func
  def name
    sexp[2]
  end

  def args
    map_args(sexp[3]) if sexp[3].first == :args
  end

  def class?
    true
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
drg-0.15.6 lib/drg/ruby/class_func.rb
drg-0.15.5 lib/drg/ruby/class_func.rb
drg-0.15.4 lib/drg/ruby/class_func.rb
drg-0.15.3 lib/drg/ruby/class_func.rb
drg-0.15.2 lib/drg/ruby/class_func.rb
drg-0.15.1 lib/drg/ruby/class_func.rb
drg-0.15.0 lib/drg/ruby/class_func.rb
drg-0.14.3 lib/drg/ruby/class_func.rb
drg-0.14.2 lib/drg/ruby/class_func.rb
drg-0.14.1 lib/drg/ruby/class_func.rb
drg-0.14.0 lib/drg/ruby/class_func.rb