Class declaration syntax error

Class SymbolObject

def initialize(symb)
  @symbol=symb
  @[email protected][email protected][email protected][email protected][email protected][email protected]=""
end

end

I am not sure what is wrong. i get a syntax error.

It’s “class”, not “Class”.

gegroet,
Erik V. - http://www.erikveen.dds.nl/

Erik V. wrote:

It’s “class”, not “Class”.

gegroet,
Erik V. - http://www.erikveen.dds.nl/

Thanks a million

On Jul 22, 2006, at 12:45 PM, [email protected] wrote:

class should be lowercase. class SymbolObject not Class SymbolObject

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs