Sha256: eaa8a242018b38ca29b52e7fac47304064988493b3b06cc36b5831cb20158bfd

Contents?: true

Size: 167 Bytes

Versions: 4

Compression:

Stored size: 167 Bytes

Contents

class Ryan::InstanceFunc < Ryan::Func
  def name
    sexp[1]
  end

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

  def class?
    false
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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