Sha256: 26136850db8ad188813fdd85a6df179c713255680a15f21ddabc61dcf54e3b42
Contents?: true
Size: 709 Bytes
Versions: 23
Compression:
Stored size: 709 Bytes
Contents
using System; using System.Net; using rho.common; using IronRuby.Builtins; namespace rho.common { public class RhoParamArray : RhoParams { RubyArray m_array; public RhoParamArray(RhoParams oParams, String name) : base(oParams) { m_array = null; Object ar = findHashParam(name); if (ar != null && (ar is RubyArray)) m_array = (RubyArray)ar; } public int size() { if ( m_array == null ) return 0; return m_array.Count; } public RhoParams getItem(int nIndex) { return new RhoParams(m_array[nIndex]); } } }
Version data entries
23 entries across 23 versions & 1 rubygems