Module: KLookup::Lookup
- Defined in:
- lib/klookup/lookup.rb
Overview
A module containing abstract classes representing Radical and Kanji.
Defined Under Namespace
Class Method Summary collapse
-
.default_handler ⇒ Object
Returns the default handler for database lookups.
-
.handler=(h) ⇒ Object
Set the handler used by both Kanji and Radical.
Class Method Details
.default_handler ⇒ Object
Returns the default handler for database lookups.
17 18 19 |
# File 'lib/klookup/lookup.rb', line 17 def self.default_handler KLookup::Database::FlatFile end |
.handler=(h) ⇒ Object
Set the handler used by both Kanji and Radical.
22 23 24 25 |
# File 'lib/klookup/lookup.rb', line 22 def self.handler=(h) KLookup::Lookup::Kanji.handler=h KLookup::Lookup::Radical.handler=h end |