Ari Brown wrote:
> Hi all,
>     This is my first post here, so don't dish out the loser points to me 
> so heartily.
> 
> I have only recently gotten into Ruby, and I was writing my own methods 
> that I might use in a couple future programs (they were YAML things, 
> like open and closing a file, and reading a file). I saved it as yaml.rb 
> . 
That's unlucky - there's a yaml.rb in the standard library which require 
loads in preference to yours.  Try renaming your yaml.rb, or moving it 
into a folder so that you can call "require 'ari/yaml'", or some 
equivalent.  As an aside, it's usual (and, under some circumstances, 
required) to leave off the file extension with require.

> Part II
> The missing command
> 
> Today I was in the car and was coding on my dad's laptop (Windows XP), 
> and I was writing a shuffling algorithm. I had used the .pop command in 
> it once, and it worked. But then all of a sudden Ruby was saying that 
> there was no command 'pop'. The syntax I had used it in was like so:
> 
> b = some_array.pop

Sounds like some_array isn't actually an array.  Care to post the code 
that's causing the error?

-- 
Alex