Class: CTX::Template
- Inherits:
- BasicObject
- Defined in:
- lib/ctx.rb
Instance Attribute Summary collapse
-
#added ⇒ Object
Returns the value of attribute added.
Instance Method Summary collapse
-
#initialize ⇒ Template
constructor
A new instance of Template.
- #singleton_method_added(name) ⇒ Object
Constructor Details
#initialize ⇒ Template
Returns a new instance of Template.
41 |
# File 'lib/ctx.rb', line 41 def initialize() @added ||= [] end |
Instance Attribute Details
#added ⇒ Object
Returns the value of attribute added.
40 41 42 |
# File 'lib/ctx.rb', line 40 def added @added end |
Instance Method Details
#singleton_method_added(name) ⇒ Object
42 |
# File 'lib/ctx.rb', line 42 def singleton_method_added(name) added << name end |