Displaying 7 results from an estimated 7 matches for "arraylike".
2016 Mar 19
2
unary class union of an S3 class
On 03/18/2016 03:28 PM, Michael Lawrence wrote:
>
> On Fri, Mar 18, 2016 at 2:53 PM, Herv? Pag?s <hpages at fredhutch.org
> <mailto:hpages at fredhutch.org>> wrote:
>
> Hi,
>
> Short story
> -----------
>
> setClassUnion("ArrayLike", "array")
>
> showClass("ArrayLike") # no slot
>
> setClass("MyArrayLikeConcreteSubclass",
> contains="ArrayLike",
> representation(stuff="ANY")
> )
>
> showClass(&q...
2016 Mar 19
2
unary class union of an S3 class
...ges at fredhutch.org <mailto:hpages at fredhutch.org>
> <mailto:hpages at fredhutch.org <mailto:hpages at fredhutch.org>>> wrote:
>
> Hi,
>
> Short story
> -----------
>
> setClassUnion("ArrayLike", "array")
>
> showClass("ArrayLike") # no slot
>
> setClass("MyArrayLikeConcreteSubclass",
> contains="ArrayLike",
> representation(stuff="ANY")
>...
2016 Mar 18
2
unary class union of an S3 class
Hi,
Short story
-----------
setClassUnion("ArrayLike", "array")
showClass("ArrayLike") # no slot
setClass("MyArrayLikeConcreteSubclass",
contains="ArrayLike",
representation(stuff="ANY")
)
showClass("MyArrayLikeConcreteSubclass") # 2 slots!!
That doesn'...
2016 Mar 19
0
unary class union of an S3 class
...awrence wrote:
>
>>
>> On Fri, Mar 18, 2016 at 2:53 PM, Herv? Pag?s <hpages at fredhutch.org
>> <mailto:hpages at fredhutch.org>> wrote:
>>
>> Hi,
>>
>> Short story
>> -----------
>>
>> setClassUnion("ArrayLike", "array")
>>
>> showClass("ArrayLike") # no slot
>>
>> setClass("MyArrayLikeConcreteSubclass",
>> contains="ArrayLike",
>> representation(stuff="ANY")
>> )
&...
2016 Mar 19
0
unary class union of an S3 class
...fredhutch.org>
>> <mailto:hpages at fredhutch.org <mailto:hpages at fredhutch.org>>>
>> wrote:
>>
>> Hi,
>>
>> Short story
>> -----------
>>
>> setClassUnion("ArrayLike", "array")
>>
>> showClass("ArrayLike") # no slot
>>
>> setClass("MyArrayLikeConcreteSubclass",
>> contains="ArrayLike",
>> representation(stuff=...
2016 Mar 18
0
unary class union of an S3 class
On Fri, Mar 18, 2016 at 2:53 PM, Herv? Pag?s <hpages at fredhutch.org> wrote:
> Hi,
>
> Short story
> -----------
>
> setClassUnion("ArrayLike", "array")
>
> showClass("ArrayLike") # no slot
>
> setClass("MyArrayLikeConcreteSubclass",
> contains="ArrayLike",
> representation(stuff="ANY")
> )
>
> showClass("MyArrayLikeConcreteSubclas...
2006 Nov 04
0
arrayfields-3.6.0
...ember?
- key?
- has_value?
- value?
- keys?
- store
- values
3.3.0:
- added gemspec file - thnx Assaph Mehr
- added FieldedArray proxy class which minimizes modifications to class
Array and allow ArrayFields to work (potientially) other arraylike object.
thnks Sean O''Dell
- added ArrayFields#to_hash method - this seems like an obvious one to add!
- remedied bug where using append feature of assigning with unknow field
appedended but did not append to acutal fields
- added samples
- created rubyforg...