Module: Relaton::Bib::Util
- Extended by:
- Util
- Included in:
- Util, Relaton::Bipm::Util, Relaton::Bsi::Util, Calconnect::Util, Ccsds::Util, Cen::Util, Cie::Util, Db::Util, Doi::Util, Ecma::Util, Etsi::Util, Gb::Util, Iana::Util, Iec::Util, Ieee::Util, Ietf::Util, Iho::Util, Isbn::Util, Iso::Util, Itu::Util, Jis::Util, Nist::Util, Oasis::Util, Ogc::Util, Oiml::Util, Omg::Util, Plateau::Util, ThreeGpp::Util, Un::Util, W3c::Util, Xsf::Util
- Defined in:
- lib/relaton/bib/util.rb
Constant Summary
collapse
- PROGNAME =
"relaton-bib".freeze
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, msg = nil, prog = nil, **opts, &block) ⇒ Object
8
9
10
11
|
# File 'lib/relaton/bib/util.rb', line 8
def method_missing(method_name, msg = nil, prog = nil, **opts, &block)
prog ||= self::PROGNAME
Relaton.logger_pool.send method_name, msg, prog, **opts, &block
end
|
Instance Method Details
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
13
14
15
|
# File 'lib/relaton/bib/util.rb', line 13
def respond_to_missing?(method_name, include_private = false)
Relaton.logger_pool.respond_to?(method_name) || super
end
|