Class: AutoC::Module::Header
- Inherits:
-
Object
- Object
- AutoC::Module::Header
- Includes:
- EntityContainer, SmartRenderer
- Defined in:
- lib/autoc/module.rb
Instance Attribute Summary collapse
-
#module ⇒ Object
readonly
Returns the value of attribute module.
Attributes included from SmartRenderer
Instance Method Summary collapse
- #file_name ⇒ Object
-
#initialize(m) ⇒ Header
constructor
A new instance of Header.
- #tag ⇒ Object
Methods included from SmartRenderer
Methods included from EntityContainer
Constructor Details
#initialize(m) ⇒ Header
Returns a new instance of Header.
219 |
# File 'lib/autoc/module.rb', line 219 def initialize(m) = @module = m |
Instance Attribute Details
#module ⇒ Object (readonly)
Returns the value of attribute module.
213 214 215 |
# File 'lib/autoc/module.rb', line 213 def module @module end |
Instance Method Details
#file_name ⇒ Object
215 |
# File 'lib/autoc/module.rb', line 215 def file_name = @file_name ||= "#{self.module.name}_auto.h" |
#tag ⇒ Object
217 |
# File 'lib/autoc/module.rb', line 217 def tag = "#{self.module.name}_auto_h".upcase |