Sha256: bf272b91c4f0043006f93fdb172ae0e8b6d3013633c93bb2e06279e5363bab37
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
module Boson # This library takes a module as a library's name. Reload for this library # subclass is disabled. class ModuleLibrary < Library #:stopdoc: handles {|source| source.is_a?(Module) } def set_name(name) @module = name underscore_lib = name.to_s[/^Boson::Commands/] ? name.to_s.split('::')[-1] : name.to_s super Util.underscore(underscore_lib) end def reload; false; end #:startdoc: end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
boson-0.1.0 | lib/boson/libraries/module_library.rb |