e x p r e s s i c a

ruby on rails, business and technicalities

No public Twitter messages.

  • RSS
  • Facebook
  • Twitter
  • Linkedin

Self Realization

Ironically, i found it hard. Actually, its not that. Realizing self should be the most prior plan to be materialized compared to anything else. The things you are depending upon might be not you should depend upon. There is always a difference between the way you are moving and the way you want to move. And finally i learned the Self Realization from a very beautiful example…

The SUN can be considered as the supreme source of Energy. And the Heat and Light that we are using are just the instances of the SUN. If one or more rays of SUN are not available at a point of time at some particular place where we expected them to be, it doesn’t mean that SUN per se has been finished or its Energy is finished, it is available with the same pace to other places where you can not see yourself. So, its the millions of billions of light rays that are coming from a single source. It hardly matters if a few rays are destroyed or not reaching their destiny, the Source will hardly care for that, but as the day goes, by the evening it starts getting vanished from the sky, it takes all the rays back into self… and then we get to know that we were living in a misconception that we had mis-assumed that light rays as a separate identities. But, in actual they are not. So, we were thinking that rays as self but actually that SUN is self. Realize where actually you are living, are you that light ray or that source. If you are just a tiny ray, you will get vanished in a sigle shot and that SUN will hardly matter that. Realize what you are thinking of that self is.

I can say that i found it hard to realize myself, but i have realized it now. And working out to change it to the actual self. But, in programming we can co-relate this quite easily…

Self Realization in Ruby

Here i am describing the self assuming that Class is the supreme source in Ruby that can be compared as the SUN. Although i still found it interesting to think over or it can be considered as the beauty of Ruby that Object===Class==Class===Object, still i am taking the Class as SUN.

Here this self represents the class A per se

[source:ruby]
class A
self
end
[/source]

Here this self represents the <Class:A>, the anonymous singleton class of A
[source:ruby]
class A
class << self; self; end
end
[/source]

Here this self represents the instance of the class A
[source:ruby]
class A
def an_instance_method
self
end
end
[/source]

One Response so far.


Sponsors