Module: H2o::Tags
- Defined in:
- lib/h2o.rb,
lib/h2o/tags.rb,
lib/h2o/tags/if.rb,
lib/h2o/tags/for.rb,
lib/h2o/tags/raw.rb,
lib/h2o/tags/with.rb,
lib/h2o/tags/block.rb,
lib/h2o/tags/extends.rb
Defined Under Namespace
Classes: Block, Extends, For, If, Raw, Tag, With
Class Method Summary
collapse
Class Method Details
5
6
7
|
# File 'lib/h2o/tags.rb', line 5
def [] name
@tags[name]
end
|
13
14
15
|
# File 'lib/h2o/tags.rb', line 13
def all
@tags
end
|
.register(tag, name) ⇒ Object
9
10
11
|
# File 'lib/h2o/tags.rb', line 9
def register(tag, name)
@tags[name] = tag
end
|