Module: Shomen::Yard
- Defined in:
- lib/shomen-yard.rb,
lib/shomen-yard/command.rb,
lib/shomen-yard/generator.rb
Overview
Shomen Yard provides a utility for generating Shomen documentation from YARD cache.
Defined Under Namespace
Class Method Summary collapse
-
.const_missing(name) ⇒ Object
If constant missing check metadata.
-
.metadata ⇒ Hash
Access project metadata.
Class Method Details
.const_missing(name) ⇒ Object
If constant missing check metadata.
22 23 24 |
# File 'lib/shomen-yard.rb', line 22 def self.const_missing(name) [name.to_s.downcase] || super(name) end |
.metadata ⇒ Hash
Access project metadata.
12 13 14 15 16 17 |
# File 'lib/shomen-yard.rb', line 12 def self. @metadata ||= ( require 'yaml' YAML.load_file(File.dirname(__FILE__) + '/shomen-yard.yml') ) end |