class Pione::Lang::SimpleFeature

SimpleFeature is a feature that consists prefix and name.

Public Class Methods

prefix(val = nil) click to toggle source

Return the operator symbol.

# File lib/pione/lang/feature-expr.rb, line 64
def prefix(val = nil)
  val ? @prefix = val : @prefix
end

Public Instance Methods

textize() click to toggle source
# File lib/pione/lang/feature-expr.rb, line 71
def textize
  "%s%s" % [prefix, name]
end