Class: CooklangRb::Tag
- Inherits:
-
Object
- Object
- CooklangRb::Tag
- Includes:
- QuantityResolver, Steppable, TagParser
- Defined in:
- lib/cooklang_rb/tag.rb
Direct Known Subclasses
Constant Summary
Constants included from TagParser
TagParser::COOKWARE_TAG, TagParser::INGREDIENT_TAG, TagParser::MULTI_NAME, TagParser::NAME, TagParser::QUANTITY, TagParser::TIMER_TAG, TagParser::UNITS
Instance Method Summary collapse
Methods included from QuantityResolver
Methods included from Steppable
Methods included from TagParser
Instance Method Details
#clean_name(name) ⇒ Object
11 12 13 |
# File 'lib/cooklang_rb/tag.rb', line 11 def clean_name(name) name.delete_prefix(tag).chomp end |