class Pione::Lang::SpecialFeature

SpecialFeature is a class for empty feature and boundless feature.

Public Class Methods

symbol(sym=nil) click to toggle source
# File lib/pione/lang/feature-expr.rb, line 24
def symbol(sym=nil)
  sym ? @symbol = sym : sym
end

Public Instance Methods

==(other) click to toggle source
# File lib/pione/lang/feature-expr.rb, line 36
def ==(other)
  other.kind_of?(self.class) and symbol == other.symbol
 end
Also aliased as: eql?
eql?(other)
Alias for: ==
textize() click to toggle source
# File lib/pione/lang/feature-expr.rb, line 32
def textize
  symbol
end