Module: Myco::InstanceMethods

Includes:
PrimitiveInstanceMethods
Defined in:
lib/myco/bootstrap/void.rb,
lib/myco/bootstrap/instance.rb

Instance Method Summary collapse

Methods included from PrimitiveInstanceMethods

#__class__, #__dup__, #__equal__, #__get_ivar__, #__hash__, #__id__, #__ivar_defined__, #__ivar_names__, #__kind_of__, #__send__, #__set_ivar__

Instance Method Details

#componentObject



70
71
72
# File 'lib/myco/bootstrap/instance.rb', line 70

def component
  __component__
end

#false?Boolean

Returns:

  • (Boolean)


41
# File 'lib/myco/bootstrap/void.rb', line 41

def false?; false end

#memesObject



82
83
84
# File 'lib/myco/bootstrap/instance.rb', line 82

def memes
  __component__.memes
end

#parentObject



74
75
76
# File 'lib/myco/bootstrap/instance.rb', line 74

def parent
  __component__.parent && __component__.parent.instance
end

#parent_memeObject



78
79
80
# File 'lib/myco/bootstrap/instance.rb', line 78

def parent_meme
  __component__.parent_meme
end

#void?Boolean

Returns:

  • (Boolean)


41
# File 'lib/myco/bootstrap/void.rb', line 41

def void?; false end