--001485f7c556bc0b070492c3815a
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Oct 16, 2010 at 5:23 PM, Paul Roche <prpaulroche / gmail.com> wrote:

> Hi, what's the opposite the concatenate sign << ?
>
> For example I want to do the opposite of what the following piece of
> code does...........
>
>
> player.in_squad  layer.in_squad << team
>
> This ads a player to the team.
>
> From this syntax, what must I change to take a player from the team?
>
> --
> Posted via http://www.ruby-forum.com/.
>
>
There isn't any way to tell from here, operators like << are just names of
methods, so it can be defined however the author of the code wants. What you
need to do is figure out what in_squad returns (p player.in_squad) and then
look up the api for it (if it is a gem, you can do "$ gem server", then open
your web browser to localhost:8808)

--001485f7c556bc0b070492c3815a--