I NEED TO CREATE A CONSTANT SUCH THAT IT CAN NEVER BE ALTERED..IN RUBY

Is it possible??

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • Max Schubert at Oct 2, 2011 at 12:31 am
    Please be more specific about what you mean by 'never be altered' -
    what use case / situation are you resolving?
    On 9/28/11, sithara suresh wrote:
    I NEED TO CREATE A CONSTANT SUCH THAT IT CAN NEVER BE ALTERED..IN RUBY

    Is it possible??

    --
    You received this message because you are subscribed to the Google Groups
    "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/rubyonrails-talk?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Dave Aronson at Oct 2, 2011 at 2:07 am

    On Wed, Sep 28, 2011 at 08:18, sithara suresh wrote:

    I NEED TO CREATE A CONSTANT SUCH THAT IT CAN NEVER BE ALTERED..IN RUBY

    Is it possible??
    Yes, but shouting isn't going to do it. Meanwhile, see
    http://lmgtfy.com?q=ruby+constant .

    -Dave

    --
    LOOKING FOR WORK, preferably Ruby on Rails, in NoVa/DC; see main web site.
    Main Web Site: davearonson.com
    Programming Blog: codosaur.us
    Excellence Blog: dare2xl.com

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 1, '11 at 2:36p
activeOct 2, '11 at 2:07a
posts3
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase