Class: LLT::Stem
- Inherits:
-
Object
- Object
- LLT::Stem
- Includes:
- Helpers::Initialize, Helpers::Normalizer, Helpers::Transformer
- Defined in:
- lib/llt/stem.rb,
lib/llt/stem/pack.rb,
lib/llt/stem/noun_pack.rb,
lib/llt/stem/noun_stem.rb,
lib/llt/stem/verb_pack.rb,
lib/llt/stem/verb_stem.rb,
lib/llt/stem/ethnic_stem.rb,
lib/llt/stem/adjective_pack.rb,
lib/llt/stem/adjective_stem.rb
Direct Known Subclasses
Defined Under Namespace
Classes: AdjectivePack, AdjectiveStem, EthnicStem, NounPack, NounStem, Pack, VerbPack, VerbStem
Instance Attribute Summary collapse
-
#stem ⇒ Object
readonly
Returns the value of attribute stem.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, args) ⇒ Stem
constructor
A new instance of Stem.
Constructor Details
#initialize(type, args) ⇒ Stem
Returns a new instance of Stem.
17 18 19 20 |
# File 'lib/llt/stem.rb', line 17 def initialize(type, args) @type = t.send(type, :full) extract_normalized_args!(args) end |
Instance Attribute Details
#stem ⇒ Object (readonly)
Returns the value of attribute stem.
15 16 17 |
# File 'lib/llt/stem.rb', line 15 def stem @stem end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
15 16 17 |
# File 'lib/llt/stem.rb', line 15 def type @type end |