class Symbol
In Porolog
, Symbols represent Variables.
Public Instance Methods
/(other)
click to toggle source
myid()
click to toggle source
A convenience method for testing/debugging. @return [String] the equivalent of inspect.
# File lib/porolog/core_ext.rb, line 60 def myid inspect end
type()
click to toggle source
@return [Symbol] the type of the object (for a Symbol
, should be :variable)
# File lib/porolog/core_ext.rb, line 70 def type :variable end
variables()
click to toggle source
@return [Array] embedded variables (for a Symbol
, should be itself).
# File lib/porolog/core_ext.rb, line 65 def variables [self] end