Sha256: 9777059b561678af21ef30b470f81917cdee936dab630c07fdaab27551461071

Contents?: true

Size: 163 Bytes

Versions: 4

Compression:

Stored size: 163 Bytes

Contents

class Ryan::ClassFunc < Ryan::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

4 entries across 4 versions & 1 rubygems

Version Path
ryan-1.2.1 lib/ryan/class_func.rb
ryan-1.2.0 lib/ryan/class_func.rb
ryan-1.1.0 lib/ryan/class_func.rb
ryan-1.0.0 lib/ryan/class_func.rb