Sha256: 9c0cdf2f54c7c3e7bf4cba10c07deec0c0f47836c95a399fe93873336d9bf93b
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
require_relative 'heading' module Zenlish module Inflect class FeatureHeading < Heading def initialize(aLabel) super(aLabel) end def evaluate_for(aFeatureBearer) aFeatureBearer[label] end def all_matches(aFeatureBearer) feat = aFeatureBearer[label] if feat.kind_of?(Feature::FeatureDef) feat.domain.to_a else [feat] end end end # class end # module end # module
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zenlish-0.2.05 | lib/zenlish/inflect/feature_heading.rb |