Module: Linguistics::EN::LinkParser::SingletonMethods
- Included in:
- Linguistics::EN::LinkParser
- Defined in:
- lib/linguistics/en/linkparser.rb
Overview
Container for methods intended to extend the EN module as singleton methods.
Instance Method Summary collapse
-
#has_linkparser? ⇒ Boolean
Returns
true
if WordNet was loaded okay. -
#linkparser_error ⇒ Object
If #has_linkparser? returns
false
, this can be called to fetch the exception which was raised when WordNet was loaded.
Instance Method Details
#has_linkparser? ⇒ Boolean
Returns true
if WordNet was loaded okay
58 |
# File 'lib/linguistics/en/linkparser.rb', line 58 def has_linkparser? ; @has_linkparser; end |
#linkparser_error ⇒ Object
If #has_linkparser? returns false
, this can be called to fetch the exception which was raised when WordNet was loaded.
62 |
# File 'lib/linguistics/en/linkparser.rb', line 62 def linkparser_error ; @lp_error; end |