Sha256: 9bed39b07a877857a3cbb83c9618c26106c6fa8063dcddf2619d33c6cbe861b4
Contents?: true
Size: 472 Bytes
Versions: 22
Compression:
Stored size: 472 Bytes
Contents
module Mext # # +Mext::Utilities+ # # add common methods to several +Mext+ library classes. # # It allows a common interface to several utilities # module Utilities def self.included(base) base.extend ClassMethods end module ClassMethods # # +from_yaml(yaml_hash)+ # # allows to create from a yaml hash # def from_yaml(yh) args = yh.values new(*args) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems