Method: Origen::Features#has_features?
- Defined in:
- lib/origen/features.rb
#has_features?(name = nil) ⇒ Boolean Also known as: has_feature?
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/origen/features.rb', line 75 def has_features?(name = nil) if !name if feature.size == 0 false else true end else feature.include?(name) end end |